django-pre-commit-hooks 1.1.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.
Files changed (16) hide show
  1. {django_pre_commit_hooks-1.1.0/src/django_pre_commit_hooks.egg-info → django_pre_commit_hooks-1.2.0}/PKG-INFO +4 -3
  2. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/README.md +2 -2
  3. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/pyproject.toml +16 -29
  4. django_pre_commit_hooks-1.2.0/src/django_pre_commit_hooks/__init__.py +1 -0
  5. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0/src/django_pre_commit_hooks.egg-info}/PKG-INFO +4 -3
  6. django_pre_commit_hooks-1.1.0/src/django_pre_commit_hooks/__init__.py +0 -1
  7. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/LICENSE +0 -0
  8. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/setup.cfg +0 -0
  9. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks/compile_messages.py +0 -0
  10. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks/py.typed +0 -0
  11. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/SOURCES.txt +0 -0
  12. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/dependency_links.txt +0 -0
  13. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/entry_points.txt +0 -0
  14. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/requires.txt +0 -0
  15. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-1.2.0}/src/django_pre_commit_hooks.egg-info/top_level.txt +0 -0
  16. {django_pre_commit_hooks-1.1.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.1.0
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
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Programming Language :: Python :: 3.13
18
18
  Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
19
20
  Classifier: Topic :: Software Development :: Libraries
20
21
  Requires-Python: >=3.10
21
22
  Description-Content-Type: text/markdown
@@ -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/pre-commit/pre-commit">
44
- <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
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/pre-commit/pre-commit">
19
- <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
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,7 +4,7 @@ requires = [ "setuptools>=77.0.3" ]
4
4
 
5
5
  [project]
6
6
  name = "django-pre-commit-hooks"
7
- version = "1.1.0"
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"
@@ -22,6 +22,7 @@ classifiers = [
22
22
  "Programming Language :: Python :: 3.12",
23
23
  "Programming Language :: Python :: 3.13",
24
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>=8,<9",
40
- "pytest-cov>=6,<7",
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]
@@ -76,17 +78,17 @@ lint.per-file-ignores."tests/**/*" = [
76
78
  lint.isort.known-first-party = [ "django_pre_commit_hooks", "tests" ]
77
79
 
78
80
  [tool.pyproject-fmt]
79
- max_supported_python = "3.14"
81
+ max_supported_python = "3.15"
80
82
 
81
83
  [tool.pytest.ini_options]
82
- addopts = """\
83
- -v
84
- -Wdefault
85
- --cov=django_pre_commit_hooks
86
- --cov-report=term
87
- --cov-report=xml
88
- """
89
- pythonpath = [ "src" ]
84
+ addopts = [
85
+ "-v",
86
+ "-Wdefault",
87
+ "--cov=django_pre_commit_hooks",
88
+ "--cov-report=term",
89
+ "--cov-report=xml",
90
+ ]
91
+ pythonpath = ["src"]
90
92
 
91
93
  [tool.coverage.run]
92
94
  branch = true
@@ -106,23 +108,8 @@ exclude_lines = [
106
108
  'if __name__ == "__main__":',
107
109
  ]
108
110
 
109
- [tool.mypy]
110
- check_untyped_defs = true
111
- disallow_any_generics = true
112
- disallow_incomplete_defs = true
113
- disallow_untyped_defs = true
114
- mypy_path = "src/"
115
- no_implicit_optional = true
116
- show_error_codes = true
117
- warn_unreachable = true
118
- warn_unused_ignores = true
119
- exclude = [
120
- 'setup.py',
121
- ]
122
-
123
- [[tool.mypy.overrides]]
124
- module = "tests.*"
125
- allow_untyped_defs = true
111
+ [tool.ty]
112
+ terminal.error-on-warning = true
126
113
 
127
114
  [tool.semantic_release]
128
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.1.0
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
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Programming Language :: Python :: 3.13
18
18
  Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
19
20
  Classifier: Topic :: Software Development :: Libraries
20
21
  Requires-Python: >=3.10
21
22
  Description-Content-Type: text/markdown
@@ -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/pre-commit/pre-commit">
44
- <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
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.1.0"