Skip to content

Commit 4ca42f0

Browse files
authored
Add dev tools to pyproject.toml (#223)
Given that these dev tools is used to maintain the project, it makes sense to add them as dev dependencies so that contributors don't have to install them manually. Tools which have been installed: - ruff - pre-commit
1 parent a210b72 commit 4ca42f0

File tree

3 files changed

+158
-59
lines changed

3 files changed

+158
-59
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
First off, thanks for taking the time to contribute! Contributions include but are not restricted to:
44

5-
- Reporting bugs
6-
- Contributing to code
7-
- Writing tests
8-
- Writing documents
5+
* Reporting bugs
6+
* Contributing to code
7+
* Writing tests
8+
* Writing documents
99

1010
The following is a set of guidelines for contributing.
1111

@@ -29,9 +29,11 @@ this section.
2929
where `fork` is the remote name of the fork repository.
3030

3131
**ProTips:**
32+
3233
1. Don't modify code on the main branch, the main branch should always keep in track with origin/main.
3334

3435
To update main branch to date:
36+
3537
```bash
3638
$ git pull origin main
3739
# In rare cases that your local main branch diverges from the remote main:
@@ -69,5 +71,5 @@ $ pre-commit install
6971
$ pre-commit run --all-files
7072
```
7173

72-
PDM uses `black` coding style and `isort` for sorting import statements, if you are not following them,
73-
the CI will fail and your Pull Request will not be merged.
74+
PDM uses `ruff` for code style and linting, if you are not following its
75+
suggestions, the CI will fail and your Pull Request will not be merged.

0 commit comments

Comments
 (0)