pyproject-pre-commit 0.3.3__py3-none-any.whl → 0.3.6__py3-none-any.whl

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.
@@ -133,15 +133,27 @@ ignore-missing-imports = true
133
133
  scripts_are_modules = true
134
134
  install_types = true
135
135
  non_interactive = true
136
+
137
+ [tool.numpydoc_validation]
138
+ checks = [
139
+ "all", # report on all checks, except the below
140
+ "EX01", # "No examples section found"
141
+ "ES01", # "No extended summary found"
142
+ "SA01", # "See Also section not found"
143
+ "GL08", # "The object does not have a docstring"
144
+ "PR01", # "Parameters {missing_params} not documented"
145
+ "PR02", # "Unknown parameters {unknown_params}"
146
+ "RT01", # "No Returns section found"
147
+ ]
136
148
  """
137
149
  )
138
150
 
139
151
 
140
152
  def main() -> None:
141
153
  usage = "Usage: ppc <--pre-commit | --pyproject> [--ruff] [--black]"
142
- if len(sys.argv) != 2:
154
+ if len(sys.argv) < 2:
143
155
  print(usage) # noqa: T201
144
- sys.exit(1)
156
+ sys.exit(0)
145
157
  is_ruff = "--ruff" in sys.argv
146
158
  if "--pre-commit" in sys.argv:
147
159
  pre_commit(is_ruff)
@@ -1,8 +1,13 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyproject-pre-commit
3
- Version: 0.3.3
3
+ Version: 0.3.6
4
4
  Summary: pre-commit hooks for python projects using pyproject.toml.
5
+ Project-URL: Repository, https://github.com/rcmdnk/pyproject-pre-commit
6
+ Project-URL: Documentation, https://github.com/rcmdnk/pyproject-pre-commit
7
+ Project-URL: Homepage, https://github.com/rcmdnk/pyproject-pre-commit
8
+ Project-URL: Issue, https://github.com/rcmdnk/pyproject-pre-commit/issues
5
9
  Author-email: rcmdnk <rcmdnk@gmail.com>
10
+ License: Apache-2.0
6
11
  Keywords: pre-commit,pyproject.toml,uv
7
12
  Classifier: Development Status :: 3 - Alpha
8
13
  Classifier: Environment :: Console
@@ -46,6 +51,7 @@ Requires-Dist: pep8-naming>=0.14.0
46
51
  Requires-Dist: pre-commit>=4.0.0
47
52
  Requires-Dist: pycodestyle>=2.11.0
48
53
  Requires-Dist: shellcheck-py>=0.9.0.5
54
+ Requires-Dist: validate-pyproject[all]>=0.22
49
55
  Provides-Extra: ruff
50
56
  Requires-Dist: mdformat-ruff>=0.1.3; extra == 'ruff'
51
57
  Requires-Dist: ruff>=0.7.2; extra == 'ruff'
@@ -0,0 +1,9 @@
1
+ pyproject_pre_commit/__init__.py,sha256=rUeC_hXVqI0tVQ-QyGHvz0r9qkZHCG2D0Mql5Wu5udc,111
2
+ pyproject_pre_commit/__version__.py,sha256=IHT4mKrIr8eV-C3HtmIVD85iGVH25n2ohoff31kaJ1A,93
3
+ pyproject_pre_commit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ pyproject_pre_commit/pyproject_pre_commit.py,sha256=VJPy9QcGiTYtJXprg7KfwAmY2HLFYTBXjoftfzYVoiw,4395
5
+ pyproject_pre_commit-0.3.6.dist-info/METADATA,sha256=kSsKPzDBWrGu3ZtxgqCyMguubZKN-Q7AXoW5bEHd750,10975
6
+ pyproject_pre_commit-0.3.6.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
7
+ pyproject_pre_commit-0.3.6.dist-info/entry_points.txt,sha256=SWEvPSMZ57o6ihwt-tVBkwQzvuq1Zk_Re4RJWtvM5Rw,50
8
+ pyproject_pre_commit-0.3.6.dist-info/licenses/LICENSE,sha256=KPHimGp4ehdaHn7s0RrnWAqKefaRTu5b_zUz7cGVuo8,11337
9
+ pyproject_pre_commit-0.3.6.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.26.1
2
+ Generator: hatchling 1.26.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,9 +0,0 @@
1
- pyproject_pre_commit/__init__.py,sha256=rUeC_hXVqI0tVQ-QyGHvz0r9qkZHCG2D0Mql5Wu5udc,111
2
- pyproject_pre_commit/__version__.py,sha256=IHT4mKrIr8eV-C3HtmIVD85iGVH25n2ohoff31kaJ1A,93
3
- pyproject_pre_commit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- pyproject_pre_commit/pyproject_pre_commit.py,sha256=AeMBDaJrcSyEVxB3g5V5d79ZvN_7zhyeEpr5mWP6Oyw,3962
5
- pyproject_pre_commit-0.3.3.dist-info/METADATA,sha256=t5FnSLafDNSO4NKnABlIIohNxNxVDb5UncEZnJc1JyY,10619
6
- pyproject_pre_commit-0.3.3.dist-info/WHEEL,sha256=3U_NnUcV_1B1kPkYaPzN-irRckL5VW_lytn0ytO_kRY,87
7
- pyproject_pre_commit-0.3.3.dist-info/entry_points.txt,sha256=SWEvPSMZ57o6ihwt-tVBkwQzvuq1Zk_Re4RJWtvM5Rw,50
8
- pyproject_pre_commit-0.3.3.dist-info/licenses/LICENSE,sha256=KPHimGp4ehdaHn7s0RrnWAqKefaRTu5b_zUz7cGVuo8,11337
9
- pyproject_pre_commit-0.3.3.dist-info/RECORD,,