Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#448)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/tox-dev/pyproject-fmt: 1.8.0 →
2.0.4](tox-dev/pyproject-fmt@1.8.0...2.0.4)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adam Johnson <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and adamchainz authored May 14, 2024
1 parent 602cb3f commit ed1ae3d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.8.0
rev: 2.0.4
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.9"]
Expand Down
29 changes: 14 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requires = [
name = "time-machine"
version = "2.14.1"
description = "Travel through time in your tests."
readme = {file = "README.rst", content-type = "text/x-rst"}
readme = { file = "README.rst", content-type = "text/x-rst" }
keywords = [
"date",
"datetime",
Expand All @@ -19,8 +19,10 @@ keywords = [
"time",
"warp",
]
license = {text = "MIT"}
authors = [{name = "Adam Johnson", email = "[email protected]"}]
license = { text = "MIT" }
authors = [
{ name = "Adam Johnson", email = "[email protected]" },
]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -35,22 +37,19 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"python-dateutil",
]
[project.urls]
Changelog = "https://github.com/adamchainz/time-machine/blob/main/CHANGELOG.rst"
Funding = "https://adamj.eu/books/"
Repository = "https://github.com/adamchainz/time-machine"
[project.entry-points.pytest11]
time_machine = "time_machine"
urls.Changelog = "https://github.com/adamchainz/time-machine/blob/main/CHANGELOG.rst"
urls.Funding = "https://adamj.eu/books/"
urls.Repository = "https://github.com/adamchainz/time-machine"
entry-points.pytest11.time_machine = "time_machine"

[tool.isort]
add_imports = [
"from __future__ import annotations"
"from __future__ import annotations",
]
force_single_line = true
profile = "black"
Expand All @@ -65,14 +64,14 @@ addopts = """\
branch = true
parallel = true
source = [
"src/_time_machine.c",
"tests",
"src/_time_machine.c",
"tests",
]

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

[tool.coverage.report]
Expand Down

0 comments on commit ed1ae3d

Please sign in to comment.