Skip to content

Commit 0849f59

Browse files
committed
Add minimal flake8 config from black docs
1 parent 31a423f commit 0849f59

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.flake8

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# flake8 is a Python linting tool run by pre-commit as declared by our
2+
# pre-commit-config.yaml file.
3+
#
4+
# This configuration is compatible with the autoformatter tool black, and
5+
# further relaxed to not bug us with too small details.
6+
#
7+
# flake8 configuration reference:
8+
# https://flake8.pycqa.org/en/latest/user/configuration.html
9+
#
10+
[flake8]
11+
max-line-length = 88
12+
extend-ignore = C, E, W
13+
14+
# Adjustments to linting the binderhub repo
15+
builtins = c, load_subconfig
16+
exclude = versioneer.py,binderhub/_version.py

0 commit comments

Comments
 (0)