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 @@
[flake8]
per-file-ignores = tests/*:S101

13
.pre-commit-config.yaml

@ -12,12 +12,12 @@ repos:
- repo: local - repo: local
hooks: hooks:
- id: isort-project - id: isort-project
name: isort_project name: isort project
entry: isort -rc src entry: isort -rc src
language: system language: system
pass_filenames: false pass_filenames: false
- id: isort-test - id: isort-test
name: isort_test name: isort test
entry: isort -rc tests entry: isort -rc tests
language: system language: system
pass_filenames: false pass_filenames: false
@ -27,8 +27,13 @@ repos:
language: system language: system
pass_filenames: false pass_filenames: false
- id: flake8 - id: flake8
name: flake8 name: flake8 project
entry: flake8 src tests entry: flake8 src
language: system
pass_filenames: false
- id: flake8
name: flake8 tests
entry: flake8 --ignore S101 tests
language: system language: system
pass_filenames: false pass_filenames: false
- id: pytest - id: pytest

Loading…
Cancel
Save