Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlint
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ contrib=contrib-title-conventional-commits
ignore=body-is-missing

[contrib-title-conventional-commits]
types=feat,fix,misc
types=feat,fix,refactor,dep,remove,misc
124 changes: 18 additions & 106 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ extension-pkg-whitelist=

# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=
CVS,
## No need to lint auto-generated files
setup.py,
ignore=CVS

# Add files or directories matching the regex patterns to the blacklist. The
# regex matches against base names, not paths.
Expand Down Expand Up @@ -79,101 +76,23 @@ confidence=
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=
print-statement,
parameter-unpacking,
unpacking-in-except,
old-raise-syntax,
backtick,
long-suffix,
old-ne-operator,
old-octal-literal,
import-star-module-level,
non-ascii-bytes-literal,
raw-checker-failed,
bad-inline-option,
locally-disabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead,
apply-builtin,
basestring-builtin,
buffer-builtin,
cmp-builtin,
coerce-builtin,
execfile-builtin,
file-builtin,
long-builtin,
raw_input-builtin,
reduce-builtin,
standarderror-builtin,
unicode-builtin,
xrange-builtin,
coerce-method,
delslice-method,
getslice-method,
setslice-method,
no-absolute-import,
old-division,
dict-iter-method,
dict-view-method,
next-method-called,
metaclass-assignment,
indexing-exception,
raising-string,
reload-builtin,
oct-method,
hex-method,
nonzero-method,
cmp-method,
input-builtin,
round-builtin,
intern-builtin,
unichr-builtin,
map-builtin-not-iterating,
zip-builtin-not-iterating,
range-builtin-not-iterating,
filter-builtin-not-iterating,
using-cmp-argument,
eq-without-hash,
div-method,
idiv-method,
rdiv-method,
exception-message-attribute,
invalid-str-codec,
sys-max-int,
bad-python3-import,
deprecated-string-function,
deprecated-str-translate-call,
deprecated-itertools-function,
deprecated-types-field,
next-method-defined,
dict-items-not-iterating,
dict-keys-not-iterating,
dict-values-not-iterating,
deprecated-operator-function,
deprecated-urllib-function,
xreadlines-attribute,
deprecated-sys-function,
exception-escape,
comprehension-escape,
## Excessive false positives
duplicate-code,
## We have code review to ensure readability, no need for the following
## highly-opinionated checks
too-many-arguments,
too-many-branches,
too-many-lines,
too-many-locals,
too-many-statements,
## Disable false positives due to a bug in astroid, can be removed when
## astroid>2.3.3 is released, see
## https://q-ctrl.atlassian.net/browse/QENG-605
unsubscriptable-object,
## Handled by Black
bad-continuation,
disable=raw-checker-failed,
bad-inline-option,
locally-disabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead,
## Excessive false positives
duplicate-code,
## We have code review to ensure readability, no need for the following
## highly-opinionated checks
too-many-arguments,
too-many-branches,
too-many-lines,
too-many-locals,
too-many-statements,


# Enable the message, report, category or checker with the given id(s). You can
Expand Down Expand Up @@ -365,13 +284,6 @@ max-line-length=100
# Maximum number of lines in a module.
max-module-lines=1000

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator

# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
single-line-class-stmt=no
Expand Down
54 changes: 34 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ toml = "^0.10.0"
black = "^22.3.0"
mypy = "^0.931"
pytest = "^7.0"
pylint = "^2.13"
pylint = "^2.14"
pylint_runner = "^0.5.4"
sphinx = "^3.2.1"
sphinx-rtd-theme = "^0.4.3"
nbval = "^0.9.5"
qctrl-visualizer = "^3.3.0"
qctrl-visualizer = "^3.4.0"
isort = "^5.7.0"
pre-commit = "^2.9.3"

Expand Down