-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.flake8
51 lines (47 loc) · 1.53 KB
/
.flake8
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
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 2018 Autodesk, Inc. All rights reserved.
#
# Use of this software is subject to the terms of the Autodesk license agreement
# provided at the time of installation or download, or which otherwise accompanies
# this software in either electronic or hard copy form.
#
# Flake 8 PEP and lint configuration - https://gitlab.com/pycqa/flake8
#
# This defines the official lint and PEP8 rules for this repository
#
# You can run this locally by doing pep install flake8 and then
# >flake8 .
[flake8]
# Things we don't want to lint
exclude =
.tox,
.git,
.flake8,
.gitignore,
.travis.yml,
.cache,
.eggs,
*.rst,
*.yml,
*.pyc,
*.pyo,
*.egg-info,
__pycache__,
*venv,
# Those are our third parties, do not lint them
vendors,
# Skip __init__.py files, to not have a lot of 'xxx' imported but unused
sg_jira/__init__.py,
sg_jira/handlers/__init__.py,
# Ignore some errors
#
# E501 line too long (112 > 79 characters)
# W291 trailing whitespace
# W293 blank line contains whitespace
# W391 blank line at end of file
# E221 multiple spaces before operator
# E402 module level import not top of file
# N802 Variables should be lower case. (clashes with Qt naming conventions)
# N806 Variables should be lower case. (clashes with Qt naming conventions)
# E999 SyntaxError: invalid syntax (hack for hound CI which runs python 3.x)
# W503 line break before binary operator: preferred to W504 line break after the operator
ignore = E501, W291, W293, W391, E221, E402, N802, N806, E999, W503