-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.flake8
29 lines (24 loc) · 870 Bytes
/
.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
# -*- mode: conf; -*-
## flake8 default linting configuration
#
# Loaded by flake8 by default
[flake8]
# DO NOT check for the following errors:
# E266: too many leading '#' for block comment
# E722: do not use bare except, specify exception instead
# W503: Line breaks should occur after the binary operator
# to keep all variable names aligned. (we're doing the opposite)
# C901 too complex, change this later
ignore=E266,E722,W503,C901
; exclude=
# F401: module imported but unused
# F403 unable to detect undefined names
per-file-ignores =
pyscan/__init__.py:F401,F403
pyscan/measurement/__init__.py:F401,F403
pyscan/general/__init__.py:F401,F403
pyscan/drivers/__init__.py:F401,F403
pyscan/plotting/__init__.py:F401,F403
*/__init__.py:F401,F403
# 120 characters is a more agreeable max line length for modern displays
max-line-length=120