mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
updated pyproject.toml
This commit is contained in:
@@ -58,6 +58,9 @@ lint.ignore = [
|
||||
"python/congress_tracker/**" = [
|
||||
"TC003", # (perm) this creates issues because sqlalchemy uses these at runtime
|
||||
]
|
||||
"python/eval_warnings/**" = [
|
||||
"S607", # (perm) gh and git are expected on PATH in the runner environment
|
||||
]
|
||||
"python/alembic/**" = [
|
||||
"INP001", # (perm) this creates LSP issues for alembic
|
||||
]
|
||||
|
||||
@@ -36,6 +36,7 @@ class FileChange:
|
||||
original: str
|
||||
fixed: str
|
||||
|
||||
|
||||
WARNING_PATTERN = re.compile(r"(?:^[\d\-T:.Z]+ )?(warning:|trace: warning:)")
|
||||
TIMESTAMP_PREFIX = re.compile(r"^[\d\-T:.Z]+ ")
|
||||
NIX_STORE_PATH = re.compile(r"/nix/store/[^/]+-source/([^:]+\.nix)")
|
||||
|
||||
Reference in New Issue
Block a user