Skip to content

Commit

Permalink
bump: ruff 0.2.x (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpbeing authored Feb 9, 2024
1 parent 84fa20f commit 7010eb6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
38 changes: 19 additions & 19 deletions pdm.lock

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

8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ doc = [
"blacken-docs>=1.16.0"
]
linting = [
"ruff",
"ruff>=0.2",
"blacken-docs",
"pre-commit"
]
Expand All @@ -81,6 +81,9 @@ Releases = "https://github.com/ansys/pysimai/releases"

[tool.ruff]
line-length = 100
target-version = "py39"

[tool.ruff.lint]
select = [
# "A", # flake8-builtins
# "ANN", # flake8-annotations
Expand Down Expand Up @@ -153,13 +156,12 @@ ignore = [
"ISC001", # Ruff formatter incompatible
"S101", # flake8-bandit - use of assert
]
target-version = "py39"

[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
"src/ansys/simai/core/{api,utils}/*" = ["D102"]

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.lint.isort]
Expand Down

0 comments on commit 7010eb6

Please sign in to comment.