Skip to content

Commit 8d6fa78

Browse files
committed
fix linter issues
1 parent 2a03fa8 commit 8d6fa78

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed
Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
[flake8]
22
max-line-length = 79
3-
ignore =
4-
E501 # line too long, defer to black
5-
W503 # allow line breaks before binary ops
6-
W504 # allow line breaks after binary ops
7-
E203 # allow whitespace before ':' (https://github.com/psf/black#slices)
3+
4+
# E501: line too long, defer to black/ruff
5+
# W503: allow line breaks before binary ops
6+
# W504: allow line breaks after binary ops
7+
# E203: allow whitespace before ':' (https://github.com/psf/black#slices)
8+
ignore = E501, W503, W504, E203
9+
10+
# Exclude generated code and standard linting exemptions.
811
exclude =
9-
# Exclude generated code.
10-
**/_build/**
12+
**/_build/**,
13+
__pycache__,
14+
.git,
15+
*.pyc,
16+
conf.py
1117

12-
# Standard linting exemptions.
13-
__pycache__,
14-
.git,
15-
*.pyc,
16-
conf.py
18+
per-file-ignores =
19+
django_spanner/__init__.py: E402, F401
1720

1821
[isort]
1922
use_parentheses = True
@@ -23,4 +26,4 @@ include_trailing_comma = True
2326
force_grid_wrap = 0
2427
line_length = 79
2528
multi_line_output = 3
26-
ensure_newline_before_comments = True
29+
ensure_newline_before_comments = True

0 commit comments

Comments
 (0)