Skip to content

Commit 0701fa3

Browse files
committed
Remove all black references and fix outdated configurations
- Removed black from docs/intro.rst (replaced with ruff) - Updated .vscode/tasks.json autoformat task to use ruff and correct command - Removed black from .github/dependabot.yml dev-dependencies - Fixed scripts/rename_project.sh to remove non-existent deps.yaml reference
1 parent f32d60d commit 0701fa3

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ updates:
1212
groups:
1313
dev-dependencies:
1414
#try to group all development dependencies updates into a single pr
15-
patterns:
16-
- "black"
15+
patterns:
1716
- "check-manifest"
1817
- "pre-commit"
1918
- "pylint"
2019
- "pytest"
21-
- "pytest-cov"
20+
- "pytest-cov"
2221
- "hypothesis"
2322
- "ruff"
2423
- "coverage"

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
},
2424
{
2525
"label": "autoformat",
26-
"detail": "Use ruff and black to automatically fix and format the code",
26+
"detail": "Use ruff to automatically fix and format the code",
2727
"type": "shell",
28-
"command": "pixi run fmt"
28+
"command": "pixi run format"
2929
},
3030
{
3131
"label": "lint",

docs/intro.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ A template repo for python projects
66
This has basic setup for
77

88
* pylint
9-
* ruff
10-
* black
9+
* ruff (formatting and linting)
1110
* pytest
1211
* codecov
1312
* git-lfs

scripts/rename_project.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22

33
mv python_template "$1"
4-
mv python_template.deps.yaml "$1".deps.yaml
54

65
# change project name in all files
76
find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' \) -print0 | xargs -0 sed -i "s/python_template/$1/g"

0 commit comments

Comments
 (0)