Skip to content

Commit

Permalink
MAINT: address Ruff and Pyright issues
Browse files Browse the repository at this point in the history
* MAINT: clean up optional dependency sections
  • Loading branch information
redeboer committed Mar 7, 2024
1 parent 9325738 commit 1fcc740
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ repos:
- id: toml-sort
args:
- --in-place

- repo: https://github.com/ComPWA/policy
rev: 0.3.0
hooks:
Expand Down
22 changes: 11 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,9 @@ jupyter = [
"python-lsp-ruff",
"python-lsp-server[rope]",
]
lint = [
"pawian-tools[mypy]",
"ruff",
]
"mypy" = [
"mypy >=0.730",
"sphinx-api-relink",
]
sty = [
"pawian-tools[format]",
"pawian-tools[lint]",
"pawian-tools[test]",
"mypy >=0.730",
"pawian-tools[types]",
"pre-commit",
"ruff",
]
Expand All @@ -101,6 +92,10 @@ test = [
"pytest-profiling",
"pytest-xdist",
]
"types" = [
"pytest",
"sphinx-api-relink",
]

[project.readme]
content-type = "text/markdown"
Expand Down Expand Up @@ -175,10 +170,14 @@ exclude = [
"**/__pycache__",
"**/_build",
]
reportArgumentType = false
reportAttributeAccessIssue = false
reportGeneralTypeIssues = false
reportIndexIssue = false
reportMissingParameterType = false
reportMissingTypeArgument = false
reportMissingTypeStubs = false
reportReturnType = false
reportUnknownArgumentType = false
reportUnknownLambdaType = false
reportUnknownMemberType = false
Expand Down Expand Up @@ -326,6 +325,7 @@ split-on-trailing-comma = false
"PGH001",
"PLC2701",
"PLR0913",
"PLR0917",
"PLR2004",
"PLR6301",
"S101",
Expand Down

0 comments on commit 1fcc740

Please sign in to comment.