diff --git a/.flake8 b/.flake8 deleted file mode 100644 index ef9877f..0000000 --- a/.flake8 +++ /dev/null @@ -1,2 +0,0 @@ -[flake8] -per-file-ignores = tests/*:S101 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a4a681..1908f55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,12 +12,12 @@ repos: - repo: local hooks: - id: isort-project - name: isort_project + name: isort project entry: isort -rc src language: system pass_filenames: false - id: isort-test - name: isort_test + name: isort test entry: isort -rc tests language: system pass_filenames: false @@ -27,8 +27,13 @@ repos: language: system pass_filenames: false - id: flake8 - name: flake8 - entry: flake8 src tests + name: flake8 project + entry: flake8 src + language: system + pass_filenames: false + - id: flake8 + name: flake8 tests + entry: flake8 --ignore S101 tests language: system pass_filenames: false - id: pytest