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
18 changes: 0 additions & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -964,24 +964,6 @@ repos:
- "B101,B301,B324,B403,B404,B603"
- "--severity-level"
- "high" # TODO: remove this line when we fix all the issues
- id: pylint
name: pylint
description: "Pylint is a static code analyser for Python 2 or 3."
entry: pylint
language: python
language_version: python3
types: [python]
additional_dependencies: ['pylint==3.1.0']
require_serial: true
files: ^airflow-core/src/airflow/.*
exclude:
airflow/example_dags/.*
args:
# Use pylint only for the specific check, which are not available into the ruff
- "--disable=all"
# W0133: "Exception statement has no effect"
# see: https://github.com/astral-sh/ruff/issues/10145
- "--enable=W0133"
- id: check-no-fab-migrations
language: pygrep
name: Check no migration is done on FAB related table
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ extend-select = [
"RET506", # Unnecessary {branch} after raise statement
"RET507", # Unnecessary {branch} after continue statement
"RET508", # Unnecessary {branch} after break statement
"PLW0133", # Missing raise statement on exception
]
ignore = [
"D100", # Unwanted; Docstring at the top of every file.
Expand Down