Skip to content

Commit

Permalink
pyproject stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdi committed Nov 22, 2023
1 parent a3138b8 commit 42d4bbc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ContinuousTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Static Lint
run: |
ruff check pyssp --verbose --output-format=github
ruff . --verbose --output-format=github
- name: Static Type Check
run: |
Expand Down
20 changes: 15 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,36 @@ addopts = [
]

[tool.ruff]
include = ["**"]
include = ["pyssp/**"]

line-length = 100
indent-width = 4
target-version = "py312"
extend-exclude = [".pyenv*"]

[tool.ruff.lint]
select = ["E", "F", "B", "I", "SIM", "W", "D"]
select = ["E",
"F",
"B",
"I",
"SIM",
"W",
"D",
"PL",
"NPY",
"PERF",
"C90"]
ignore = ["D213", "D401", "D211"]

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

[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"

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

[tool.mypy]
mypy_path = "pyssp"
ignore_missing_imports = true
Expand Down

0 comments on commit 42d4bbc

Please sign in to comment.