Skip to content

Commit

Permalink
Format pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
leroyvn committed Oct 14, 2024
1 parent 75ca9db commit bce7ccc
Showing 1 changed file with 15 additions and 38 deletions.
53 changes: 15 additions & 38 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,20 @@ build-backend = "hatchling.build"
requires = ["hatchling"]

[project]
authors = [{name = "Vincent Leroy", email = "vincent.leroy@rayference.eu"}]
authors = [{ name = "Vincent Leroy", email = "vincent.leroy@rayference.eu" }]
classifiers = [
"Development Status :: 6 - Mature",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"attrs>=21"
"Programming Language :: Python :: 3.12",
]
dependencies = ["attrs>=21"]
description = "A simple factory implementation written in Python"
keywords = []
license = {file = "LICENSE"}
license = { file = "LICENSE" }
name = "dessinemoi"
readme = "README.md"
requires-python = ">=3.8"
Expand All @@ -38,26 +36,18 @@ directory = "./reports/coverage/html"
output = "./reports/coverage/coverage.json"

[tool.coverage.paths]
equivalent = [
"src/",
"__pypackages__/"
]
equivalent = ["src/", "__pypackages__/"]

[tool.coverage.report]
omit = [
"src/*/__init__.py",
"src/*/_version.py"
]
omit = ["src/*/__init__.py", "src/*/_version.py"]
precision = 2
show_missing = true
skip_covered = true

[tool.coverage.run]
branch = true
parallel = true
source = [
"src/"
]
source = ["src/"]

[tool.hatch.build.targets.wheel]
packages = ["src/dessinemoi"]
Expand All @@ -67,22 +57,9 @@ allow-direct-references = true

[tool.pytest.ini_options]
addopts = "--doctest-glob='*.rst'"
norecursedirs = [
".git",
".env",
"dist",
"build",
"__pypackages__"
]
python_files = [
"test_*.py",
"*_test.py",
"tests.py"
]
testpaths = [
"docs",
"tests"
]
norecursedirs = [".git", ".env", "dist", "build", "__pypackages__"]
python_files = ["test_*.py", "*_test.py", "tests.py"]
testpaths = ["docs", "tests"]

[tool.ruff.lint]
select = ["I", "E", "F"]
Expand All @@ -101,12 +78,12 @@ dev-dependencies = [
"sphinx-autobuild>=2021.3",
"sphinx-autodoc-typehints>=1.18",
"sphinx-copybutton>=0.4",
"xdoctest>=0.15.0"
"xdoctest>=0.15.0",
]
managed = true

[tool.rye.scripts]
docs = {cmd = "sphinx-build -b html docs docs/_build/html"}
docs-clean = {cmd = "rm -rf docs/_build/"}
docs-serve = {cmd = "sphinx-autobuild docs docs/_build/html"}
test = {cmd = "pytest"}
docs = { cmd = "sphinx-build -b html docs docs/_build/html" }
docs-clean = { cmd = "rm -rf docs/_build/" }
docs-serve = { cmd = "sphinx-autobuild docs docs/_build/html" }
test = { cmd = "pytest" }

0 comments on commit bce7ccc

Please sign in to comment.