-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy path.flake8-critical
More file actions
33 lines (31 loc) · 1.09 KB
/
.flake8-critical
File metadata and controls
33 lines (31 loc) · 1.09 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
# -*- mode: conf; -*-
## flake8 critical linting configuration
#
# Alternative configuration for flake8 which will only check for
# "critical" linting errors
#
# usage:
# $ flake8 --config=.flake8-critical
[flake8]
# ONLY check for these linting errors:
# E9**: Runtime errors
# F63*: Invalid tests and comparisons
# F7**: Flake8 syntax errors
# F82*: Undefined names
# This list may be expanded in the future
select=E9,F63,F7,F82
per-file-ignores=
# Known issues with rb tests. Currently skipped, but technically have F821 errors
test/unit/extras/rb/test_analysis.py:F821
test/unit/extras/rb/test_group.py:F821
test/unit/extras/rb/test_sample.py:F821
test/unit/extras/rb/test_theory.py:F821
test/unit/tools/test_internalgates.py:F821
test/test_packages/extras/test_rb.py:F821
# Should nPossible be nLocal?
test/test_packages/drivers/nqubitconstruction.py:F821
# Likely results existed in a deleted cell
scripts/profiling/gaugeopt/3Q_example.py:F821
# New with flake 7.2.0, should go back to these
pygsti/forwardsims/termforwardsim_calc_generic.py:F824
pygsti/baseobjs/basisconstructors.py:F824