Skip to content

Commit

Permalink
style(pyproject): Format document
Browse files Browse the repository at this point in the history
  • Loading branch information
asyrjasalo committed Jul 29, 2024
1 parent 2ef5a8f commit 0b03c15
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,13 @@ Repository = "https://github.com/asyrjasalo/RESTinstance"
distribution = true

[tool.pdm.dev-dependencies]
dev = [
"ruff"
]
dev = ["ruff"]
test = [
"pytest",
"pytest-clarity",
"pytest-instafail",
"pytest-spec",
"setuptools"
"setuptools",
]

[tool.pdm.scripts]
Expand All @@ -65,7 +63,7 @@ tests = { composite = ["test", "atest"] }
format = "ruff format ."
lint = "ruff check ."
docs = "python -m robot.libdoc -P src REST docs/index.html"
clear = { shell = "rm -rf dist/ node_modules/ .pdm-build/ .pytest_cache/ .ruff_cache/ results/ src/*.egg-info mb.pid *.log" }
clear = { shell = "rm -rf .pdm-build/ .pytest_cache/ .ruff_cache/ dist/ node_modules/ results/ src/*.egg-info mb.pid *.log" }

[tool.pytest]
testpaths = "test"
Expand All @@ -75,16 +73,17 @@ addopts = "--cov --spec --instafail --diff-type=auto"
line-length = 80
indent-width = 4
exclude = [
".git",
".pytest_cache",
'.ruff_cache',
".venv",
"atest",
"dist",
"docs",
"node_modules",
"results",
"testapi"
".git",
".pdm-build",
".pytest_cache",
".ruff_cache",
".venv",
"atest",
"dist",
"docs",
"node_modules",
"results",
"testapi",
]

[tool.ruff.lint]
Expand Down

0 comments on commit 0b03c15

Please sign in to comment.