Skip to content

Commit 568b05b

Browse files
committed
Remove remaining setup.cfg references
There is still one reference remaining in .bumpversion.cfg, but issue #362 should be resolved before we can effectively remove that one.
1 parent 4020114 commit 568b05b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

{{cookiecutter.directory_name}}/.github/next_steps/05_linting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: 'Next step: Linting'
44

55
Your repository has a [workflow]({{ cookiecutter.repository_url }}/blob/main/.github/workflows/build.yml) which [lints](https://en.wikipedia.org/wiki/Lint_(software)) your code after every push and when creating a pull request.
66

7-
Linter workflow may fail if `description` or `keywords` field in [setup.cfg]({{ cookiecutter.repository_url }}/blob/main/setup.cfg) is empty. Please update these fields. To validate your changes run:
7+
Linter workflow may fail if `description` or `keywords` field in [pyproject.toml]({{ cookiecutter.repository_url }}/blob/main/pyproject.toml) is empty. Please update these fields. To validate your changes run:
88

99
```shell
1010
ruff .

{{cookiecutter.directory_name}}/project_setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ to use one or the other, as project requirements differ. For advice on what to u
2828
of the
2929
guide](https://guide.esciencecenter.nl/#/best_practices/language_guides/python?id=dependencies-and-package-management).
3030

31-
- Runtime dependencies should be added to `setup.cfg` in the `install_requires` list under `[options]`.
32-
- Development dependencies should be added to `setup.cfg` in one of the lists under `[options.extras_require]`.
31+
- Runtime dependencies should be added to `pyproject.toml` in the `dependencies` list under `[project]`.
32+
- Development dependencies should be added to `pyproject.toml` in one of the lists under `[project.optional-dependencies]`.
3333

3434
## Packaging/One command install
3535

@@ -45,7 +45,7 @@ help you decide which tool to use for packaging.
4545
- The testing framework used is [PyTest](https://pytest.org)
4646
- [PyTest introduction](https://pythontest.com/pytest-book/)
4747
- PyTest is listed as a development dependency
48-
- This is configured in `setup.cfg`
48+
- This is configured in `pyproject.toml`
4949
- The project uses [GitHub action workflows](https://docs.github.com/en/actions) to automatically run tests on GitHub infrastructure against multiple Python versions
5050
- Workflows can be found in [`.github/workflows`](.github/workflows/)
5151
- [Relevant section in the guide](https://guide.esciencecenter.nl/#/best_practices/language_guides/python?id=testing)

0 commit comments

Comments
 (0)