Skip to content

Commit aec92c5

Browse files
committed
build: move flake8 config to pyproject.toml
1 parent 9dc7f61 commit aec92c5

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ repos:
2222
rev: 6.1.0
2323
hooks:
2424
- id: flake8
25-
args: [--config, setup.cfg]
25+
additional_dependencies: [Flake8-pyproject]

setup.cfg

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,3 @@
22
project = pyrekordbox
33
source-dir = ./docs/source
44
build-dir = ./docs/build
5-
6-
[flake8]
7-
max-line-length = 88
8-
ignore = D203
9-
extend-ignore = E203, W503
10-
per-file-ignores = __init__.py:F401
11-
exclude =
12-
.git,
13-
.idea,
14-
__pycache__,
15-
build,
16-
dist,
17-
*/structs.py,
18-
*/_version.py,
19-
docs/*

0 commit comments

Comments
 (0)