-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .flake8 config to match other jupyterhub repos
- Loading branch information
1 parent
c003e37
commit f7f9bf3
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
[flake8] | ||
# Adjustments to comply with black autoformatting as described here: | ||
# https://black.readthedocs.io/en/latest/guides/using_black_with_other_tools.html#flake8 | ||
# flake8 is used for linting Python code setup to automatically run with | ||
# pre-commit. | ||
# | ||
extend-ignore = E203, E501 | ||
max-line-length = 88 | ||
|
||
# Project specific adjustments | ||
# ref: https://flake8.pycqa.org/en/latest/user/configuration.html | ||
# | ||
|
||
[flake8] | ||
# Ignore style and complexity | ||
# E: style errors | ||
# W: style warnings | ||
# C: complexity | ||
# D: docstring warnings (unused pydocstyle extension) | ||
ignore = E, C, W, D | ||
builtins = | ||
c | ||
get_config |