django-pre-commit-hooks 1.0.0__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {django_pre_commit_hooks-1.0.0/src/django_pre_commit_hooks.egg-info → django_pre_commit_hooks-1.2.0}/PKG-INFO +6 -5
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/README.md +2 -2
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/pyproject.toml +20 -30
- django_pre_commit_hooks-1.2.0/src/django_pre_commit_hooks/__init__.py +1 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0/src/django_pre_commit_hooks.egg-info}/PKG-INFO +6 -5
- django_pre_commit_hooks-1.0.0/src/django_pre_commit_hooks/__init__.py +0 -1
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/LICENSE +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/setup.cfg +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks/compile_messages.py +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks/py.typed +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/SOURCES.txt +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/dependency_links.txt +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/entry_points.txt +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/requires.txt +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/top_level.txt +0 -0
- {django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/tests/test_compile_messages.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-pre-commit-hooks
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: A collection of pre-commit hooks for Django projects
|
|
5
5
|
Author-email: Bruno Alla <oss@browniebroke.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -11,13 +11,14 @@ Classifier: Development Status :: 2 - Pre-Alpha
|
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Natural Language :: English
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
19
20
|
Classifier: Topic :: Software Development :: Libraries
|
|
20
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.10
|
|
21
22
|
Description-Content-Type: text/markdown
|
|
22
23
|
License-File: LICENSE
|
|
23
24
|
Requires-Dist: django
|
|
@@ -40,8 +41,8 @@ Dynamic: license-file
|
|
|
40
41
|
<a href="https://github.com/astral-sh/ruff">
|
|
41
42
|
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
42
43
|
</a>
|
|
43
|
-
<a href="https://github.com/
|
|
44
|
-
<img src="https://img.shields.io/
|
|
44
|
+
<a href="https://github.com/j178/prek">
|
|
45
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
|
|
45
46
|
</a>
|
|
46
47
|
</p>
|
|
47
48
|
<p align="center">
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
<a href="https://github.com/astral-sh/ruff">
|
|
16
16
|
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
17
17
|
</a>
|
|
18
|
-
<a href="https://github.com/
|
|
19
|
-
<img src="https://img.shields.io/
|
|
18
|
+
<a href="https://github.com/j178/prek">
|
|
19
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
|
|
20
20
|
</a>
|
|
21
21
|
</p>
|
|
22
22
|
<p align="center">
|
|
@@ -4,24 +4,25 @@ requires = [ "setuptools>=77.0.3" ]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "django-pre-commit-hooks"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.2.0"
|
|
8
8
|
description = "A collection of pre-commit hooks for Django projects"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "Bruno Alla", email = "oss@browniebroke.com" },
|
|
13
13
|
]
|
|
14
|
-
requires-python = ">=3.
|
|
14
|
+
requires-python = ">=3.10"
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Development Status :: 2 - Pre-Alpha",
|
|
17
17
|
"Intended Audience :: Developers",
|
|
18
18
|
"Natural Language :: English",
|
|
19
19
|
"Operating System :: OS Independent",
|
|
20
|
-
"Programming Language :: Python :: 3.9",
|
|
21
20
|
"Programming Language :: Python :: 3.10",
|
|
22
21
|
"Programming Language :: Python :: 3.11",
|
|
23
22
|
"Programming Language :: Python :: 3.12",
|
|
24
23
|
"Programming Language :: Python :: 3.13",
|
|
24
|
+
"Programming Language :: Python :: 3.14",
|
|
25
|
+
"Programming Language :: Python :: 3.15",
|
|
25
26
|
"Topic :: Software Development :: Libraries",
|
|
26
27
|
]
|
|
27
28
|
|
|
@@ -36,9 +37,10 @@ scripts.compile-messages = "django_pre_commit_hooks.compile_messages:main"
|
|
|
36
37
|
[dependency-groups]
|
|
37
38
|
dev = [
|
|
38
39
|
"coverage",
|
|
39
|
-
"pytest>=
|
|
40
|
-
"pytest-cov>=
|
|
40
|
+
"pytest>=9,<10",
|
|
41
|
+
"pytest-cov>=7,<8",
|
|
41
42
|
"pytest-mock>=3.14.1",
|
|
43
|
+
"ty==0.0.69",
|
|
42
44
|
]
|
|
43
45
|
|
|
44
46
|
[tool.ruff]
|
|
@@ -75,15 +77,18 @@ lint.per-file-ignores."tests/**/*" = [
|
|
|
75
77
|
]
|
|
76
78
|
lint.isort.known-first-party = [ "django_pre_commit_hooks", "tests" ]
|
|
77
79
|
|
|
80
|
+
[tool.pyproject-fmt]
|
|
81
|
+
max_supported_python = "3.15"
|
|
82
|
+
|
|
78
83
|
[tool.pytest.ini_options]
|
|
79
|
-
addopts =
|
|
80
|
-
-v
|
|
81
|
-
-Wdefault
|
|
82
|
-
--cov=django_pre_commit_hooks
|
|
83
|
-
--cov-report=term
|
|
84
|
-
--cov-report=xml
|
|
85
|
-
|
|
86
|
-
pythonpath = [
|
|
84
|
+
addopts = [
|
|
85
|
+
"-v",
|
|
86
|
+
"-Wdefault",
|
|
87
|
+
"--cov=django_pre_commit_hooks",
|
|
88
|
+
"--cov-report=term",
|
|
89
|
+
"--cov-report=xml",
|
|
90
|
+
]
|
|
91
|
+
pythonpath = ["src"]
|
|
87
92
|
|
|
88
93
|
[tool.coverage.run]
|
|
89
94
|
branch = true
|
|
@@ -103,23 +108,8 @@ exclude_lines = [
|
|
|
103
108
|
'if __name__ == "__main__":',
|
|
104
109
|
]
|
|
105
110
|
|
|
106
|
-
[tool.
|
|
107
|
-
|
|
108
|
-
disallow_any_generics = true
|
|
109
|
-
disallow_incomplete_defs = true
|
|
110
|
-
disallow_untyped_defs = true
|
|
111
|
-
mypy_path = "src/"
|
|
112
|
-
no_implicit_optional = true
|
|
113
|
-
show_error_codes = true
|
|
114
|
-
warn_unreachable = true
|
|
115
|
-
warn_unused_ignores = true
|
|
116
|
-
exclude = [
|
|
117
|
-
'setup.py',
|
|
118
|
-
]
|
|
119
|
-
|
|
120
|
-
[[tool.mypy.overrides]]
|
|
121
|
-
module = "tests.*"
|
|
122
|
-
allow_untyped_defs = true
|
|
111
|
+
[tool.ty]
|
|
112
|
+
terminal.error-on-warning = true
|
|
123
113
|
|
|
124
114
|
[tool.semantic_release]
|
|
125
115
|
version_toml = [ "pyproject.toml:project.version" ]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.2.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-pre-commit-hooks
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: A collection of pre-commit hooks for Django projects
|
|
5
5
|
Author-email: Bruno Alla <oss@browniebroke.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -11,13 +11,14 @@ Classifier: Development Status :: 2 - Pre-Alpha
|
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Natural Language :: English
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
19
20
|
Classifier: Topic :: Software Development :: Libraries
|
|
20
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.10
|
|
21
22
|
Description-Content-Type: text/markdown
|
|
22
23
|
License-File: LICENSE
|
|
23
24
|
Requires-Dist: django
|
|
@@ -40,8 +41,8 @@ Dynamic: license-file
|
|
|
40
41
|
<a href="https://github.com/astral-sh/ruff">
|
|
41
42
|
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
42
43
|
</a>
|
|
43
|
-
<a href="https://github.com/
|
|
44
|
-
<img src="https://img.shields.io/
|
|
44
|
+
<a href="https://github.com/j178/prek">
|
|
45
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
|
|
45
46
|
</a>
|
|
46
47
|
</p>
|
|
47
48
|
<p align="center">
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pre_commit_hooks-1.0.0 → django_pre_commit_hooks-1.2.0}/tests/test_compile_messages.py
RENAMED
|
File without changes
|