-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathflake8.txt
More file actions
39 lines (33 loc) · 1.24 KB
/
flake8.txt
File metadata and controls
39 lines (33 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# flake8.txt
# This is referenced by the flake8 Python code scanner utility installed on macOS (from any folder):
# brew install flake8
# Run for all .py (code) files in the current folder :
# flake8 .
# See https://flake8.pycqa.org/en/latest/user/configuration.html
# Note that flake8 audits are incorporated within the ruff utility.
# __last_commit__ = "v002 + put in github :flake8.txt"
[flake8]
max-line-length = 120
exclude = test*/*
max-complexity = 10
ignore = E265,
E402,
F401,
E301,
E501
# E301 line too long (81 > 79 characters)
# E501 line too long (97 > 79 characters)
# E301 expected 1 blank line, found 0
# W292 no newline at end of file
# E713 test for membership should be 'not in'
# E128 continuation line under-indented for visual indent
# F405 'MappingStartEvent' may be undefined, or defined from star imports: .events, .nodes
# PROTIP: solved by setting your IDE to automatically remove
# W391 blank line at end of file
# W293 blank line contains whitespace
# 1. Open VS Code settings (Ctrl+, or Cmd+,)
# 2. Search for "trim trailing whitespace"
# 3. Check the box for "Files: Trim Trailing Whitespace" Or add this in VSCode's settings.json:
# json{
# "files.trimTrailingWhitespace": true
# }