repo-review 0.11.2__py3-none-any.whl → 0.11.3__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.
repo_review/__main__.py CHANGED
@@ -34,9 +34,9 @@ from .ghpath import GHPath
34
34
  from .html import to_html
35
35
  from .processor import Result, as_simple_dict, collect_all, process
36
36
 
37
- __all__ = ["main", "Formats", "Show", "Status"]
37
+ __all__ = ["Formats", "Show", "Status", "main"]
38
38
 
39
- CODE_THEME = "default"
39
+ CODE_THEME = "ansi_light"
40
40
 
41
41
 
42
42
  def __dir__() -> list[str]:
repo_review/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.11.2'
16
- __version_tuple__ = version_tuple = (0, 11, 2)
15
+ __version__ = version = '0.11.3'
16
+ __version_tuple__ = version_tuple = (0, 11, 3)
repo_review/checks.py CHANGED
@@ -6,7 +6,7 @@ from typing import Any, Protocol
6
6
 
7
7
  from .fixtures import apply_fixtures
8
8
 
9
- __all__ = ["Check", "collect_checks", "is_allowed", "get_check_url"]
9
+ __all__ = ["Check", "collect_checks", "get_check_url", "is_allowed"]
10
10
 
11
11
 
12
12
  def __dir__() -> list[str]:
repo_review/fixtures.py CHANGED
@@ -12,11 +12,11 @@ from ._compat.importlib.resources.abc import Traversable
12
12
  from .ghpath import EmptyTraversable
13
13
 
14
14
  __all__ = [
15
- "pyproject",
16
- "list_all",
17
- "compute_fixtures",
18
15
  "apply_fixtures",
19
16
  "collect_fixtures",
17
+ "compute_fixtures",
18
+ "list_all",
19
+ "pyproject",
20
20
  ]
21
21
 
22
22
 
@@ -36,8 +36,7 @@ def pyproject(package: Traversable) -> dict[str, Any]:
36
36
  pyproject_path = package.joinpath("pyproject.toml")
37
37
  if pyproject_path.is_file():
38
38
  with pyproject_path.open("rb") as f:
39
- # Type ignore fixed in https://github.com/hukkin/tomli/pull/215
40
- return tomllib.load(f) # type: ignore[arg-type]
39
+ return tomllib.load(f)
41
40
  return {}
42
41
 
43
42
 
repo_review/ghpath.py CHANGED
@@ -14,7 +14,7 @@ from typing import Literal
14
14
 
15
15
  from ._compat.importlib.resources.abc import Traversable
16
16
 
17
- __all__ = ["GHPath", "EmptyTraversable"]
17
+ __all__ = ["EmptyTraversable", "GHPath"]
18
18
 
19
19
 
20
20
  def __dir__() -> list[str]:
repo_review/processor.py CHANGED
@@ -30,8 +30,8 @@ __all__ = [
30
30
  "ResultDict",
31
31
  "as_simple_dict",
32
32
  "collect_all",
33
- "process",
34
33
  "md_as_html",
34
+ "process",
35
35
  ]
36
36
 
37
37
 
repo_review/testing.py CHANGED
@@ -13,7 +13,7 @@ from .checks import Check, get_check_url, process_result_bool
13
13
  from .fixtures import apply_fixtures
14
14
  from .processor import Result
15
15
 
16
- __all__ = ["toml_loads", "compute_check"]
16
+ __all__ = ["compute_check", "toml_loads"]
17
17
 
18
18
 
19
19
  def __dir__() -> list[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: repo_review
3
- Version: 0.11.2
3
+ Version: 0.11.3
4
4
  Summary: Framework that can run checks on repos
5
5
  Project-URL: Changelog, https://github.com/scientific-python/repo-review/releases
6
6
  Project-URL: Demo, https://scientific-python.github.io/repo-review
@@ -8,7 +8,6 @@ Project-URL: Documentation, https://repo-review.readthedocs.io
8
8
  Project-URL: Homepage, https://repo-review.readthedocs.io
9
9
  Project-URL: Source, https://github.com/scientific-python/repo-review
10
10
  Author-email: Henry Schreiner <henryfs@princeton.edu>
11
- License-File: LICENSE
12
11
  Classifier: Development Status :: 4 - Beta
13
12
  Classifier: Environment :: Console
14
13
  Classifier: Environment :: WebAssembly :: Emscripten
@@ -34,29 +33,6 @@ Provides-Extra: cli
34
33
  Requires-Dist: click>=8; extra == 'cli'
35
34
  Requires-Dist: rich-click; extra == 'cli'
36
35
  Requires-Dist: rich>=12.2; extra == 'cli'
37
- Provides-Extra: dev
38
- Requires-Dist: click>=8; extra == 'dev'
39
- Requires-Dist: pytest>=7; extra == 'dev'
40
- Requires-Dist: rich-click; extra == 'dev'
41
- Requires-Dist: rich>=12.2; extra == 'dev'
42
- Requires-Dist: sp-repo-review>=2024.08.19; extra == 'dev'
43
- Requires-Dist: validate-pyproject>=0.14; extra == 'dev'
44
- Provides-Extra: docs
45
- Requires-Dist: click>=8; extra == 'docs'
46
- Requires-Dist: furo; extra == 'docs'
47
- Requires-Dist: myst-parser>=0.13; extra == 'docs'
48
- Requires-Dist: rich-click; extra == 'docs'
49
- Requires-Dist: rich>=12.2; extra == 'docs'
50
- Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
51
- Requires-Dist: sphinx-copybutton; extra == 'docs'
52
- Requires-Dist: sphinx-github-changelog; extra == 'docs'
53
- Requires-Dist: sphinx>=4.0; extra == 'docs'
54
- Requires-Dist: sphinxcontrib-programoutput; extra == 'docs'
55
- Requires-Dist: sphinxext-opengraph; extra == 'docs'
56
- Provides-Extra: test
57
- Requires-Dist: pytest>=7; extra == 'test'
58
- Requires-Dist: sp-repo-review>=2024.08.19; extra == 'test'
59
- Requires-Dist: validate-pyproject>=0.14; extra == 'test'
60
36
  Description-Content-Type: text/markdown
61
37
 
62
38
  # repo-review
@@ -159,7 +135,7 @@ webapp. It also would allow `zipfile.Path` to work just as well, too - no need
159
135
  to extract.
160
136
 
161
137
  [Checks][] can request [fixtures][] (like [pytest][]) as arguments. Check files
162
- can add new fixtures as needed. Fixtures are are specified with entry points,
138
+ can add new fixtures as needed. Fixtures are specified with entry points,
163
139
  and take any other fixture as arguments as well - the `root` and `package`
164
140
  fixtures represents the root of the repository and of the package you are
165
141
  checking, respectively, and are the basis for the other fixtures, which are
@@ -195,7 +171,7 @@ collection functions, the family entry-point also supports fixtures.
195
171
  This project inspired [Try-PyHF](https://kratsg.github.io/try-pyhf/), an
196
172
  interface for a High Energy Physics package in Scikit-HEP.
197
173
 
198
- This project inspired [abSENSE](https://princetonuniversity.github.io/abSENSE/), an
174
+ This project inspired [abSENSE](https://princetonuniversity.github.io/abSENSE/), a
199
175
  web interface to abSENSE.
200
176
 
201
177
  This was developed for [Scikit-HEP][] before moving to Scientific-Python.
@@ -1,16 +1,16 @@
1
1
  repo_review/__init__.py,sha256=U03wTpj7PjSsIROp8O4VRG_NVG-plkx14d_MvqpmJ_w,229
2
- repo_review/__main__.py,sha256=FjYamqrS55TYqFvz8TuZdJ5-C-l2QP3_6n8lLH04_8o,13890
3
- repo_review/_version.py,sha256=v52WNNFq-_uq9OSfK9O7vLpi66zlufcyohjNPzWbpdk,413
2
+ repo_review/__main__.py,sha256=dXejLf8wJ6spTr_RdL-o_EqdZEQ0CfEteA7PB7m2b-M,13893
3
+ repo_review/_version.py,sha256=OkAeaAqw1G6xdcg59fk8Mamyqb2RLX_cARtBOHOICIM,413
4
4
  repo_review/_version.pyi,sha256=j5kbzfm6lOn8BzASXWjGIA1yT0OlHTWqlbyZ8Si_o0E,118
5
- repo_review/checks.py,sha256=SzTnMxj756xMb9Rffl9K65o2rUGDYfG6CQCj-pNWQzk,4316
5
+ repo_review/checks.py,sha256=U1MyA_esE-AjzMfjzSZd0C0XHDZ1UtLXQXebXnaUers,4316
6
6
  repo_review/families.py,sha256=TEMQY3whMj8b3iVlWyVsTa0CAZexXRCFXq5uPIkV6bs,2389
7
- repo_review/fixtures.py,sha256=AHdUhDU--SOrlhWSymiyECp5LmaCGYNRcZHuPpzFUts,3709
8
- repo_review/ghpath.py,sha256=YadsOkd2hGOrDffSU3PtQiDLgvrVe1GuMKeDFKXwtLs,6123
7
+ repo_review/fixtures.py,sha256=ypeEj-Ae3_3bUWUE0n-wuOrKlEVFU6rp7zK-UoC_t6E,3607
8
+ repo_review/ghpath.py,sha256=fkzUD1G_kuzCmVhTH2yAJoJxxYwjAXfjnBwtaj6nqg0,6123
9
9
  repo_review/html.py,sha256=LwoZUqiWC84qSuhwbzqQtwhWDhE8JiPWWTI4nKXF3nA,3485
10
- repo_review/processor.py,sha256=txXKyw1VP31sclfQL0yac5mXYTkFoca3t-3yKBvqc5k,8275
10
+ repo_review/processor.py,sha256=pPAj2kdUFoXAMB3Hqe9VbNlwCs20OK0ODJrE1VaMyaI,8275
11
11
  repo_review/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  repo_review/schema.py,sha256=U_iox0khN1oEHCCB5ILffjRvZLG7BR-aaip9QEpMkJk,593
13
- repo_review/testing.py,sha256=qbjevlG_DQbL4-l-7wTM9rqoLvRaxf7GF66D8i723OY,1915
13
+ repo_review/testing.py,sha256=tA0c-baQ2-0UQMKnY59NgBuLmBqsVcFUBP4uYsL3n6Q,1915
14
14
  repo_review/_compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  repo_review/_compat/tomllib.py,sha256=caR8Mj-hSBLE2zqdLLjzwOdCBOfikVqS8pWkc4K5vgc,233
16
16
  repo_review/_compat/typing.py,sha256=vXfYiJHUaqMShRMbJi0VUg2V59UV-oxceZKSBZ3tfts,246
@@ -19,8 +19,8 @@ repo_review/_compat/importlib/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5J
19
19
  repo_review/_compat/importlib/resources/abc.py,sha256=KLv7AqUaY-ezZ32lA5yVcZLfMqY6VEo8Q-1jyWpGRbk,300
20
20
  repo_review/resources/__init__.py,sha256=RBBaUp-hQrIYBqbAT0MytCXEjDmqVsCjiEgdK_K3dN4,138
21
21
  repo_review/resources/repo-review.schema.json,sha256=jAc7ZQV-Hc16ENrNFZm7nlIjiRQGTanq8EjBICkJKpE,791
22
- repo_review-0.11.2.dist-info/METADATA,sha256=uCkBoPbRRxwzV-ZqOj070MBQiZL5sh4E3l7ENJhgs9M,11437
23
- repo_review-0.11.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
24
- repo_review-0.11.2.dist-info/entry_points.txt,sha256=9XaDWanm31NNpXOpjZh2HxSXR5owVdYJ2cbNG5D8wY8,244
25
- repo_review-0.11.2.dist-info/licenses/LICENSE,sha256=X7yOxzyAEckYl17p01lZzbraqDVmWEWXE8BnKKRrh7c,1525
26
- repo_review-0.11.2.dist-info/RECORD,,
22
+ repo_review-0.11.3.dist-info/METADATA,sha256=svwJcOBrhYYwZmdGKGI1rFcLKKRApKPlSCaJW5sE9wk,10378
23
+ repo_review-0.11.3.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
24
+ repo_review-0.11.3.dist-info/entry_points.txt,sha256=9XaDWanm31NNpXOpjZh2HxSXR5owVdYJ2cbNG5D8wY8,244
25
+ repo_review-0.11.3.dist-info/licenses/LICENSE,sha256=X7yOxzyAEckYl17p01lZzbraqDVmWEWXE8BnKKRrh7c,1525
26
+ repo_review-0.11.3.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.25.0
2
+ Generator: hatchling 1.26.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any