Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion libs/astradb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ ignore = [
"ERA", # Do we want to activate (no commented code) ?
"FBT", # Do we want to activate (boolean trap) ?
"ISC001", # Messes with the formatter
"PERF203", # Incorrect detection
"PLR09", # TODO: do we enforce these ones (complexity) ?
"PTH", # Do we want to activate (use pathlib) ?

Expand Down
2 changes: 1 addition & 1 deletion libs/astradb/scripts/check_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
for file in files:
try:
SourceFileLoader("x", file).load_module()
except Exception:
except (ImportError, FileNotFoundError): # noqa: PERF203
has_faillure = True
print(file)
traceback.print_exc()
Expand Down