django-pre-commit-hooks 1.1.0__tar.gz → 2.0.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-2.0.0}/PKG-INFO +5 -5
  2. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.0}/README.md +2 -2
  3. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.0}/pyproject.toml +17 -31
  4. django_pre_commit_hooks-2.0.0/src/django_pre_commit_hooks/__init__.py +1 -0
  5. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.0/src/django_pre_commit_hooks.egg-info}/PKG-INFO +5 -5
  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-2.0.0}/LICENSE +0 -0
  8. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.0}/setup.cfg +0 -0
  9. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.0}/src/django_pre_commit_hooks/compile_messages.py +0 -0
  10. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.0}/src/django_pre_commit_hooks/py.typed +0 -0
  11. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.0}/src/django_pre_commit_hooks.egg-info/SOURCES.txt +0 -0
  12. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.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-2.0.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-2.0.0}/src/django_pre_commit_hooks.egg-info/requires.txt +0 -0
  15. {django_pre_commit_hooks-1.1.0 → django_pre_commit_hooks-2.0.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-2.0.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: 2.0.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,13 @@ 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.10
15
14
  Classifier: Programming Language :: Python :: 3.11
16
15
  Classifier: Programming Language :: Python :: 3.12
17
16
  Classifier: Programming Language :: Python :: 3.13
18
17
  Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Programming Language :: Python :: 3.15
19
19
  Classifier: Topic :: Software Development :: Libraries
20
- Requires-Python: >=3.10
20
+ Requires-Python: >=3.11
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: django
@@ -40,8 +40,8 @@ Dynamic: license-file
40
40
  <a href="https://github.com/astral-sh/ruff">
41
41
  <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
42
42
  </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">
43
+ <a href="https://github.com/j178/prek">
44
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
45
45
  </a>
46
46
  </p>
47
47
  <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,24 +4,24 @@ requires = [ "setuptools>=77.0.3" ]
4
4
 
5
5
  [project]
6
6
  name = "django-pre-commit-hooks"
7
- version = "1.1.0"
7
+ version = "2.0.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.10"
14
+ requires-python = ">=3.11"
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.10",
21
20
  "Programming Language :: Python :: 3.11",
22
21
  "Programming Language :: Python :: 3.12",
23
22
  "Programming Language :: Python :: 3.13",
24
23
  "Programming Language :: Python :: 3.14",
24
+ "Programming Language :: Python :: 3.15",
25
25
  "Topic :: Software Development :: Libraries",
26
26
  ]
27
27
 
@@ -36,9 +36,10 @@ scripts.compile-messages = "django_pre_commit_hooks.compile_messages:main"
36
36
  [dependency-groups]
37
37
  dev = [
38
38
  "coverage",
39
- "pytest>=8,<9",
40
- "pytest-cov>=6,<7",
39
+ "pytest>=9,<10",
40
+ "pytest-cov>=7,<8",
41
41
  "pytest-mock>=3.14.1",
42
+ "ty==0.0.99",
42
43
  ]
43
44
 
44
45
  [tool.ruff]
@@ -76,17 +77,17 @@ lint.per-file-ignores."tests/**/*" = [
76
77
  lint.isort.known-first-party = [ "django_pre_commit_hooks", "tests" ]
77
78
 
78
79
  [tool.pyproject-fmt]
79
- max_supported_python = "3.14"
80
+ max_supported_python = "3.15"
80
81
 
81
82
  [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" ]
83
+ addopts = [
84
+ "-v",
85
+ "-Wdefault",
86
+ "--cov=django_pre_commit_hooks",
87
+ "--cov-report=term",
88
+ "--cov-report=xml",
89
+ ]
90
+ pythonpath = ["src"]
90
91
 
91
92
  [tool.coverage.run]
92
93
  branch = true
@@ -106,23 +107,8 @@ exclude_lines = [
106
107
  'if __name__ == "__main__":',
107
108
  ]
108
109
 
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
110
+ [tool.ty]
111
+ terminal.error-on-warning = true
126
112
 
127
113
  [tool.semantic_release]
128
114
  version_toml = [ "pyproject.toml:project.version" ]
@@ -0,0 +1 @@
1
+ __version__ = "2.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: 2.0.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,13 @@ 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.10
15
14
  Classifier: Programming Language :: Python :: 3.11
16
15
  Classifier: Programming Language :: Python :: 3.12
17
16
  Classifier: Programming Language :: Python :: 3.13
18
17
  Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Programming Language :: Python :: 3.15
19
19
  Classifier: Topic :: Software Development :: Libraries
20
- Requires-Python: >=3.10
20
+ Requires-Python: >=3.11
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: django
@@ -40,8 +40,8 @@ Dynamic: license-file
40
40
  <a href="https://github.com/astral-sh/ruff">
41
41
  <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
42
42
  </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">
43
+ <a href="https://github.com/j178/prek">
44
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
45
45
  </a>
46
46
  </p>
47
47
  <p align="center">
@@ -1 +0,0 @@
1
- __version__ = "1.1.0"