diff --git a/.flake8 b/.flake8 deleted file mode 100644 index 05c5d19..0000000 --- a/.flake8 +++ /dev/null @@ -1,9 +0,0 @@ -[flake8] -# E203 whitespace before ':' -# E251 unexpected spaces around keyword / parameter equals -# W503 line break before binary operator -ignore = - E203 - E251 - W503 -max-line-length = 99 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b01979..84a6adf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,11 +17,6 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - - repo: https://github.com/pycqa/flake8 - rev: 7.1.1 - hooks: - - id: flake8 - - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.7.0 hooks: diff --git a/ruff.toml b/ruff.toml index 0c63b24..bccdfe2 100644 --- a/ruff.toml +++ b/ruff.toml @@ -4,5 +4,8 @@ target-version = "py39" [lint] select = [ + "E", # pycodestyle + "F", # Pyflakes + flake8 "I", # isort + "W", # pycodestyle ]