Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 4, 2023
1 parent 320e0f1 commit c18c336
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
26 changes: 12 additions & 14 deletions pyproject.toml
Expand Up @@ -16,12 +16,6 @@ license = {text = "MIT"}
maintainers = [{name = "Hugo van Kemenade"}]
authors = [{name = "Jason Moiron", email = "jmoiron@jmoiron.net"}]
requires-python = ">=3.7"
dependencies = [
'importlib-metadata; python_version < "3.8"',
]
dynamic = [
"version",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -40,13 +34,18 @@ classifiers = [
"Topic :: Text Processing",
"Topic :: Text Processing :: General",
]
dynamic = [
"version",
]
dependencies = [
'importlib-metadata; python_version < "3.8"',
]
[project.optional-dependencies]
tests = [
"freezegun",
"pytest",
"pytest-cov",
]

[project.urls]
Documentation = "https://python-humanize.readthedocs.io/"
Funding = "https://tidelift.com/subscription/pkg/pypi-humanize?utm_source=pypi-humanize&utm_medium=pypi"
Expand All @@ -55,10 +54,6 @@ Homepage = "https://github.com/python-humanize/humanize"
"Release notes" = "https://github.com/python-humanize/humanize/releases"
Source = "https://github.com/python-humanize/humanize"


[tool.black]
target_version = ["py37"]

[tool.hatch]
version.source = "vcs"

Expand All @@ -70,11 +65,14 @@ artifacts = [
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"

[tool.black]
target_version = ["py37"]

[tool.isort]
profile = "black"

[tool.pydocstyle]
convention = "google"

[tool.pytest.ini_options]
addopts = "--color=yes"

[tool.pydocstyle]
convention = "google"
8 changes: 4 additions & 4 deletions tox.ini
Expand Up @@ -5,10 +5,10 @@ envlist =
py{py3, 312, 311, 310, 39, 38, 37}

[testenv]
passenv =
FORCE_COLOR
extras =
tests
passenv =
FORCE_COLOR
commands =
{envpython} -m pytest --cov humanize --cov tests --cov-report xml {posargs}

Expand All @@ -19,11 +19,11 @@ commands =
mkdocs build

[testenv:lint]
passenv =
PRE_COMMIT_COLOR
skip_install = true
deps =
pre-commit
passenv =
PRE_COMMIT_COLOR
commands =
pre-commit run --all-files --show-diff-on-failure

Expand Down

0 comments on commit c18c336

Please sign in to comment.