Skip to content

Commit 269c698

Browse files
[pre-commit.ci] pre-commit autoupdate (#328)
<!--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) - [github.com/adamchainz/django-upgrade: 1.16.0 → 1.17.0](adamchainz/django-upgrade@1.16.0...1.17.0) <!--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]>
1 parent d4d5f1b commit 269c698

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: end-of-file-fixer
1515
- id: trailing-whitespace
1616
- repo: https://github.com/tox-dev/pyproject-fmt
17-
rev: 1.8.0
17+
rev: 2.0.4
1818
hooks:
1919
- id: pyproject-fmt
2020
- repo: https://github.com/tox-dev/tox-ini-fmt
@@ -33,7 +33,7 @@ repos:
3333
- id: pyupgrade
3434
args: [--py38-plus]
3535
- repo: https://github.com/adamchainz/django-upgrade
36-
rev: 1.16.0
36+
rev: 1.17.0
3737
hooks:
3838
- id: django-upgrade
3939
args: [--target-version, '3.2']

pyproject.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ requires = [
88
name = "django-linear-migrations"
99
version = "2.12.0"
1010
description = "Ensure your migrations are linear."
11-
readme = {file = "README.rst", content-type = "text/x-rst"}
11+
readme = { file = "README.rst", content-type = "text/x-rst" }
1212
keywords = [
1313
"Django",
1414
]
15-
license = {text = "MIT"}
16-
authors = [{name = "Adam Johnson", email = "[email protected]"}]
15+
license = { text = "MIT" }
16+
authors = [
17+
{ name = "Adam Johnson", email = "[email protected]" },
18+
]
1719
requires-python = ">=3.8"
1820
classifiers = [
1921
"Development Status :: 5 - Production/Stable",
@@ -36,16 +38,15 @@ classifiers = [
3638
"Typing :: Typed",
3739
]
3840
dependencies = [
39-
"Django>=3.2",
41+
"django>=3.2",
4042
]
41-
[project.urls]
42-
Changelog = "https://github.com/adamchainz/django-linear-migrations/blob/main/CHANGELOG.rst"
43-
Funding = "https://adamj.eu/books/"
44-
Repository = "https://github.com/adamchainz/django-linear-migrations"
43+
urls.Changelog = "https://github.com/adamchainz/django-linear-migrations/blob/main/CHANGELOG.rst"
44+
urls.Funding = "https://adamj.eu/books/"
45+
urls.Repository = "https://github.com/adamchainz/django-linear-migrations"
4546

4647
[tool.isort]
4748
add_imports = [
48-
"from __future__ import annotations"
49+
"from __future__ import annotations",
4950
]
5051
force_single_line = true
5152
profile = "black"
@@ -62,14 +63,14 @@ django_find_project = false
6263
branch = true
6364
parallel = true
6465
source = [
65-
"django_linear_migrations",
66-
"tests",
66+
"django_linear_migrations",
67+
"tests",
6768
]
6869

6970
[tool.coverage.paths]
7071
source = [
71-
"src",
72-
".tox/**/site-packages",
72+
"src",
73+
".tox/**/site-packages",
7374
]
7475

7576
[tool.coverage.report]

0 commit comments

Comments
 (0)