Loading .pre-commit-config.yaml 0 → 100644 +23 −0 Changes for .pre-commit-config.yaml: 23 added lines, 0 removed lines. Original line number Diff line number Diff line # .pre-commit-config.yaml # Pre-commit configuration for PyAETNA repository repos: - repo: local hooks: - id: ruff-check name: ruff check entry: /dati/pyenvs/pyaetnaEnv/bin/ruff check language: system types: [python] - id: ruff-format name: ruff format check entry: /dati/pyenvs/pyaetnaEnv/bin/ruff format --check language: system types: [python] - id: black-check name: black check entry: /dati/pyenvs/pyaetnaEnv/bin/black --check language: system types: [python] pyproject.toml +0 −1 Changes for pyproject.toml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -118,7 +118,6 @@ ignore = [ # --- to be fixed gradually --- "BLE001", # blind except: Exception – 75 occurrences, fix iteratively "F841", # local variable assigned but never used – review first "RUF059", # unused unpacked variable – review first "C408", # unnecessary dict/list/tuple call "S110", # try-except-pass – review first "TRY004", # raise TypeError instead of ValueError in __init__ – review first Loading Loading
.pre-commit-config.yaml 0 → 100644 +23 −0 Changes for .pre-commit-config.yaml: 23 added lines, 0 removed lines. Original line number Diff line number Diff line # .pre-commit-config.yaml # Pre-commit configuration for PyAETNA repository repos: - repo: local hooks: - id: ruff-check name: ruff check entry: /dati/pyenvs/pyaetnaEnv/bin/ruff check language: system types: [python] - id: ruff-format name: ruff format check entry: /dati/pyenvs/pyaetnaEnv/bin/ruff format --check language: system types: [python] - id: black-check name: black check entry: /dati/pyenvs/pyaetnaEnv/bin/black --check language: system types: [python]
pyproject.toml +0 −1 Changes for pyproject.toml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -118,7 +118,6 @@ ignore = [ # --- to be fixed gradually --- "BLE001", # blind except: Exception – 75 occurrences, fix iteratively "F841", # local variable assigned but never used – review first "RUF059", # unused unpacked variable – review first "C408", # unnecessary dict/list/tuple call "S110", # try-except-pass – review first "TRY004", # raise TypeError instead of ValueError in __init__ – review first Loading