Browse Source

removed separate flake8 config

main
Holger Frey 2 years ago
parent
commit
e52ed8c2b6
  1. 2
      .flake8
  2. 13
      .pre-commit-config.yaml

2
.flake8

@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
[flake8]
per-file-ignores = tests/*:S101

13
.pre-commit-config.yaml

@ -12,12 +12,12 @@ repos: @@ -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: @@ -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

Loading…
Cancel
Save