Skip to content

Commit b21027d

Browse files
committed
fix: windows seems to not like dots in name
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 1537bfa commit b21027d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,9 @@ Python.
266266

267267
## Helper utility
268268

269-
There's also a script, accessible as `sp-repo-review.ruff-checks`, that will
270-
compare your ruff checks to the known values. It's a little more elegant on the
271-
command line than the Ruff family description, which will only print out a basic
272-
list.
269+
There's also a script, accessible as `sp-ruff-checks`, that will compare your
270+
ruff checks to the known values. It's a little more elegant on the command line
271+
than the Ruff family description, which will only print out a basic list.
273272

274273
## Other ways to use
275274

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Source = "https://github.com/scientific-python/cookie"
5656

5757
[project.scripts]
5858
sp-repo-review = "repo_review.__main__:main"
59-
"sp-repo-review.ruff-checks" = "sp_repo_review.ruff_checks.__main__:main"
59+
"sp-ruff-checks" = "sp_repo_review.ruff_checks.__main__:main"
6060

6161
[project.entry-points."repo_review.checks"]
6262
general = "sp_repo_review.checks.general:repo_review_checks"

tests/test_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ def test_cmd_json():
2222

2323

2424
def test_ruff_checks():
25-
subprocess.run(["sp-repo-review.ruff-checks"], check=True)
25+
subprocess.run(["sp-ruff-checks"], check=True)

0 commit comments

Comments
 (0)