Skip to content

Commit

Permalink
Merge pull request #170 from Preocts/preocts
Browse files Browse the repository at this point in the history
Clean up old formatter style
  • Loading branch information
Preocts authored Aug 1, 2024
2 parents a1c0764 + 3095b12 commit 9f6069d
Showing 1 changed file with 9 additions and 48 deletions.
57 changes: 9 additions & 48 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,56 +19,27 @@ classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
]
# Dynamic dependencies are loaded from requirements*.txt files
dynamic = [
"dependencies",
"optional-dependencies",
"version",
]
dynamic = ["dependencies", "optional-dependencies", "version"]

[tool.setuptools_scm]
# Purposely left empty

[tool.setuptools.dynamic.dependencies]
file = [
"requirements/requirements.txt",
]
file = ["requirements/requirements.txt"]

[tool.setuptools.dynamic.optional-dependencies]
dev = { file = [
"requirements/requirements-dev.txt",
] }
test = { file = [
"requirements/requirements-test.txt",
] }

# Alertative way to specify dependencies
# dependencies = []

# [project.optional-dependencies]
# dev = []
# test = []
dev = { file = ["requirements/requirements-dev.txt"] }
test = { file = ["requirements/requirements-test.txt"] }

[project.urls]
homepage = "https://github.com/[ORG NAME]/[REPO NAME]"
# documentation = ""
# repository = ""
# changelog = ""

# CLI scripts if needed
# [project.scripts]
# python-src-example = "module_name.sample:main"

# [tool.setuptools.packages.find]
# where = ["src"] # ["."] by default
# include = ["*"] # ["*"] by default
# exclude = ["tests"] # empty by default
# namespaces = true # true by default

[tool.setuptools.package-data]
"module_name" = [
"py.typed",
]
"module_name" = ["py.typed"]

[tool.mypy]
check_untyped_defs = true
Expand All @@ -87,22 +58,12 @@ warn_unused_ignores = false

[tool.coverage.run]
branch = true
source = [
"tests",
]
source_pkgs = [
"module_name",
]
source = ["tests"]
source_pkgs = ["module_name"]

[tool.coverage.paths]
source = [
"src/",
"*/site-packages",
]
test = [
"tests/",
"*/tests",
]
source = ["src/", "*/site-packages"]
test = ["tests/", "*/tests"]

[tool.coverage.report]
exclude_lines = [
Expand Down

0 comments on commit 9f6069d

Please sign in to comment.