Skip to content

Commit da54f6f

Browse files
committed
Add PIE
1 parent a2eca24 commit da54f6f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ select = [
142142
"ARG", # flake8-unused-arguments
143143
"RET", # flake8-return
144144
"PYI", # flake8-pyi
145+
"PIE", # flake8-pie
145146
"PERF", # Perflint
146147
"FURB", # refurb
147148
"RUF", # Ruff-specific rules

src/torchjd/autojac/_transform/_base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
class RequirementError(ValueError):
2323
"""Inappropriate set of inputs keys."""
2424

25-
pass
26-
2725

2826
class Transform(ABC):
2927
"""

0 commit comments

Comments
 (0)