Skip to content

Commit 54fb005

Browse files
committed
minor fixes for adding prospector
Can be squashed with previous commit.
1 parent b936ef9 commit 54fb005

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
### Changed
1313

14+
* Moved from prospector to ruff [#336](https://github.com/NLeSC/python-template/issues/336)
1415
* Renamed `project_name` to `directory_name` in cookiecutter questionnaire
1516
* Initial linting is error free [#227](https://github.com/NLeSC/python-template/issues/227)
1617
* Consolidated test/lint/build/docs into single matrix workflow [#270](https://github.com/NLeSC/python-template/issues/276)

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ my-python-project/
131131
├── next_steps.md
132132
├── NOTICE
133133
├── project_setup.md
134-
├── .prospector.yml
135134
├── .pylintrc
136135
├── pyproject.toml
137136
├── README.dev.md

{{cookiecutter.directory_name}}/.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ jobs:
5959
python -m pip install --upgrade pip setuptools
6060
python -m pip install .[dev,publishing]
6161
- name: Check style against standards using ruff
62-
run: ruff
62+
run: ruff .

{{cookiecutter.directory_name}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ target-version = "py39"
9191
line-length = 120
9292

9393
[tool.ruff.isort]
94-
known-first-party = ["distance_explainer"]
94+
known-first-party = ["{{ cookiecutter.package_name }}"]
9595
force-single-line = true
9696
no-lines-before = ["future","standard-library","third-party","first-party","local-folder"]

0 commit comments

Comments
 (0)