Skip to content

Commit 1477501

Browse files
committed
fix: duplicates in toml
1 parent 83cfa47 commit 1477501

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ ignore-words-list = [
122122

123123
[tool.mypy]
124124
warn_unreachable = true
125-
enable_error_code = ["redundant-expr", "truthy-bool"]
126125
files = [
127126
"diracx-api/src/**/*.py",
128127
"diracx-cli/src/**/*.py",
@@ -146,7 +145,7 @@ allow_redefinition = true
146145
explicit_package_bases = true
147146
# disallow_untyped_defs = true
148147
# strict = true
149-
enable_error_code = ["import", "attr-defined"]
148+
enable_error_code = ["import", "attr-defined", "redundant-expr", "truthy-bool"]
150149

151150
[[tool.mypy.overrides]]
152151
module = 'DIRAC.*'

0 commit comments

Comments
 (0)