-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
750b6f5
commit c2529c7
Showing
2 changed files
with
74 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
|
||
|
||
[build-system] | ||
build-backend = "_own_version_helper:build_meta" | ||
requires = [ | ||
"setuptools>=61", | ||
'tomli; python_version < "3.11"', | ||
"tomli; python_version<'3.11'", | ||
] | ||
backend-path = [ | ||
".", | ||
|
@@ -17,7 +15,7 @@ description = "the blessed package to manage your versions by scm tags" | |
readme = "README.md" | ||
license.file = "LICENSE" | ||
authors = [ | ||
{name="Ronny Pfannschmidt", email="[email protected]"} | ||
{ name = "Ronny Pfannschmidt", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
|
@@ -42,81 +40,86 @@ dynamic = [ | |
dependencies = [ | ||
"packaging>=20", | ||
"setuptools", | ||
'tomli>=1; python_version < "3.11"', | ||
'typing-extensions; python_version < "3.10"', | ||
"tomli>=1; python_version<'3.11'", | ||
"typing-extensions; python_version<'3.10'", | ||
] | ||
[project.optional-dependencies] | ||
docs = [ | ||
optional-dependencies.docs = [ | ||
"entangled-cli~=2.0", | ||
"mkdocs", | ||
"mkdocs-entangled-plugin", | ||
"mkdocs-material", | ||
"mkdocstrings[python]", | ||
"pygments", | ||
] | ||
rich = [ | ||
optional-dependencies.rich = [ | ||
"rich", | ||
] | ||
test = [ | ||
optional-dependencies.test = [ | ||
"build", | ||
"pytest", | ||
"rich", | ||
'typing-extensions; python_version < "3.11"', | ||
"typing-extensions; python_version<'3.11'", | ||
"wheel", | ||
] | ||
toml = [ | ||
] | ||
[project.urls] | ||
documentation = "https://setuptools-scm.readthedocs.io/" | ||
repository = "https://github.com/pypa/setuptools_scm/" | ||
[project.entry-points."distutils.setup_keywords"] | ||
use_scm_version = "setuptools_scm._integration.setuptools:version_keyword" | ||
[project.entry-points."setuptools.file_finders"] | ||
setuptools_scm = "setuptools_scm._file_finders:find_files" | ||
[project.entry-points."setuptools.finalize_distribution_options"] | ||
setuptools_scm = "setuptools_scm._integration.setuptools:infer_version" | ||
[project.entry-points."setuptools_scm.files_command"] | ||
".git" = "setuptools_scm._file_finders.git:git_find_files" | ||
".hg" = "setuptools_scm._file_finders.hg:hg_find_files" | ||
[project.entry-points."setuptools_scm.files_command_fallback"] | ||
".git_archival.txt" = "setuptools_scm._file_finders.git:git_archive_find_files" | ||
".hg_archival.txt" = "setuptools_scm._file_finders.hg:hg_archive_find_files" | ||
[project.entry-points."setuptools_scm.local_scheme"] | ||
dirty-tag = "setuptools_scm.version:get_local_dirty_tag" | ||
no-local-version = "setuptools_scm.version:get_no_local_node" | ||
node-and-date = "setuptools_scm.version:get_local_node_and_date" | ||
node-and-timestamp = "setuptools_scm.version:get_local_node_and_timestamp" | ||
[project.entry-points."setuptools_scm.parse_scm"] | ||
".git" = "setuptools_scm.git:parse" | ||
".hg" = "setuptools_scm.hg:parse" | ||
[project.entry-points."setuptools_scm.parse_scm_fallback"] | ||
".git_archival.txt" = "setuptools_scm.git:parse_archival" | ||
".hg_archival.txt" = "setuptools_scm.hg:parse_archival" | ||
PKG-INFO = "setuptools_scm.fallbacks:parse_pkginfo" | ||
"pyproject.toml" = "setuptools_scm.fallbacks:fallback_version" | ||
"setup.py" = "setuptools_scm.fallbacks:fallback_version" | ||
[project.entry-points."setuptools_scm.version_scheme"] | ||
"calver-by-date" = "setuptools_scm.version:calver_by_date" | ||
"guess-next-dev" = "setuptools_scm.version:guess_next_dev_version" | ||
"no-guess-dev" = "setuptools_scm.version:no_guess_dev_version" | ||
"only-version" = "setuptools_scm.version:only_version" | ||
"post-release" = "setuptools_scm.version:postrelease_version" | ||
"python-simplified-semver" = "setuptools_scm.version:simplified_semver_version" | ||
"release-branch-semver" = "setuptools_scm.version:release_branch_semver_version" | ||
|
||
optional-dependencies.toml = [ | ||
] | ||
urls.documentation = "https://setuptools-scm.readthedocs.io/" | ||
urls.repository = "https://github.com/pypa/setuptools_scm/" | ||
entry-points."distutils.setup_keywords".use_scm_version = "setuptools_scm._integration.setuptools:version_keyword" | ||
entry-points."setuptools.file_finders".setuptools_scm = "setuptools_scm._file_finders:find_files" | ||
entry-points."setuptools.finalize_distribution_options".setuptools_scm = "setuptools_scm._integration.setuptools:infer_version" | ||
entry-points."setuptools_scm.files_command".".git" = "setuptools_scm._file_finders.git:git_find_files" | ||
entry-points."setuptools_scm.files_command".".hg" = "setuptools_scm._file_finders.hg:hg_find_files" | ||
entry-points."setuptools_scm.files_command_fallback".".git_archival.txt" = "setuptools_scm._file_finders.git:git_archive_find_files" | ||
entry-points."setuptools_scm.files_command_fallback".".hg_archival.txt" = "setuptools_scm._file_finders.hg:hg_archive_find_files" | ||
entry-points."setuptools_scm.local_scheme".dirty-tag = "setuptools_scm.version:get_local_dirty_tag" | ||
entry-points."setuptools_scm.local_scheme".no-local-version = "setuptools_scm.version:get_no_local_node" | ||
entry-points."setuptools_scm.local_scheme".node-and-date = "setuptools_scm.version:get_local_node_and_date" | ||
entry-points."setuptools_scm.local_scheme".node-and-timestamp = "setuptools_scm.version:get_local_node_and_timestamp" | ||
entry-points."setuptools_scm.parse_scm".".git" = "setuptools_scm.git:parse" | ||
entry-points."setuptools_scm.parse_scm".".hg" = "setuptools_scm.hg:parse" | ||
entry-points."setuptools_scm.parse_scm_fallback".".git_archival.txt" = "setuptools_scm.git:parse_archival" | ||
entry-points."setuptools_scm.parse_scm_fallback".".hg_archival.txt" = "setuptools_scm.hg:parse_archival" | ||
entry-points."setuptools_scm.parse_scm_fallback".PKG-INFO = "setuptools_scm.fallbacks:parse_pkginfo" | ||
entry-points."setuptools_scm.parse_scm_fallback"."pyproject.toml" = "setuptools_scm.fallbacks:fallback_version" | ||
entry-points."setuptools_scm.parse_scm_fallback"."setup.py" = "setuptools_scm.fallbacks:fallback_version" | ||
entry-points."setuptools_scm.version_scheme"."calver-by-date" = "setuptools_scm.version:calver_by_date" | ||
entry-points."setuptools_scm.version_scheme"."guess-next-dev" = "setuptools_scm.version:guess_next_dev_version" | ||
entry-points."setuptools_scm.version_scheme"."no-guess-dev" = "setuptools_scm.version:no_guess_dev_version" | ||
entry-points."setuptools_scm.version_scheme"."only-version" = "setuptools_scm.version:only_version" | ||
entry-points."setuptools_scm.version_scheme"."post-release" = "setuptools_scm.version:postrelease_version" | ||
entry-points."setuptools_scm.version_scheme"."python-simplified-semver" = "setuptools_scm.version:simplified_semver_version" | ||
entry-points."setuptools_scm.version_scheme"."release-branch-semver" = "setuptools_scm.version:release_branch_semver_version" | ||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
where = [ | ||
"src", | ||
] | ||
namespaces = false | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "_own_version_helper.version"} | ||
version = { attr = "_own_version_helper.version" } | ||
|
||
[tool.setuptools_scm] | ||
|
||
[tool.ruff] | ||
fix = true | ||
lint.select = ["E", "F", "B", "U", "YTT", "C", "DTZ", "PYI", "PT", "I", "FURB", "RUF"] | ||
lint.ignore = ["B028"] | ||
lint.select = [ | ||
"E", | ||
"F", | ||
"B", | ||
"U", | ||
"YTT", | ||
"C", | ||
"DTZ", | ||
"PYI", | ||
"PT", | ||
"I", | ||
"FURB", | ||
"RUF", | ||
] | ||
lint.ignore = [ | ||
"B028", | ||
] | ||
lint.preview = true | ||
|
||
[tool.ruff.lint.isort] | ||
|
@@ -126,7 +129,9 @@ lines-between-types = 1 | |
order-by-type = true | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["testing"] | ||
testpaths = [ | ||
"testing", | ||
] | ||
filterwarnings = [ | ||
"error", | ||
"ignore:.*tool\\.setuptools_scm.*", | ||
|
@@ -135,7 +140,10 @@ filterwarnings = [ | |
log_level = "debug" | ||
log_cli_level = "info" | ||
# disable unraisable until investigated | ||
addopts = ["-p", "no:unraisableexception"] | ||
addopts = [ | ||
"-p", | ||
"no:unraisableexception", | ||
] | ||
markers = [ | ||
"issue(id): reference to github issue", | ||
"skip_commit: allows to skip committing in the helpers", | ||
|