Skip to content

Commit

Permalink
Single call
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed Oct 23, 2024
1 parent c14472b commit ea53c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ select = [
"I", # isort
"E", # pycodestyle
"W", # pycodestyle
"D", # pydocstyle
"F", # pyflakes
"RUF", # ruff
"UP", # pyupgrade
Expand All @@ -148,8 +149,12 @@ ignore = [
max-args = 6

[tool.ruff.lint.extend-per-file-ignores]
"test/**.py" = [
"D", # pydocstyle
]
"docs/**/*" = [
"E402", # module level import not at top of file
"D", # pydocstyle
]

[tool.ruff.lint.flake8-copyright]
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ extras =
commands =
ruff format qiskit_addon_sqd/ docs/ test/
ruff check --fix qiskit_addon_sqd/ docs/ test/
ruff check --fix --select D qiskit_addon_sqd/
nbqa ruff --fix docs/

[testenv:lint]
Expand All @@ -28,7 +27,6 @@ extras =
commands =
ruff format --check qiskit_addon_sqd/ docs/ test/
ruff check qiskit_addon_sqd/ docs/ test/
ruff check --select D qiskit_addon_sqd/
ruff check --preview --select CPY001 --exclude "*.ipynb" qiskit_addon_sqd/ test/
nbqa ruff docs/
mypy qiskit_addon_sqd/
Expand Down

0 comments on commit ea53c6c

Please sign in to comment.