You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- id: trailing-whitespace # Trim trailing whitespace at the end of lines.
- id: end-of-file-fixer # Make sure files end in a newline and only a newline.
- id: check-added-large-files # Prevent giant files from being committed.
- id: check-case-conflict # Check for files that would conflict in case-insensitive filesystems.
- id: check-docstring-first # Check a common error of defining a docstring after code.
- id: check-merge-conflict # Check for files that contain merge conflict strings.
- repo: https://github.com/PyCQA/flake8
rev: 7.3.0
hooks:
- id: flake8 # Check style and syntax. Does not modify code, issues have to be solved manually.
args: [
'--ignore=E501,E203,W503,E402', # Ignore line length problems, space after colon problems, line break occurring before a binary operator problems, module level import not at top of file problems.
'--per-file-ignores=*/__init__.py:F401', # Ignore module imported but unused problems in __init__.py files.