Skip to content

Commit 63f8765

Browse files
Merge pull request #389 from mollie/add-fix-codestyle
Add command to fix codestyle
2 parents 1d5fadb + cf0c614 commit 63f8765

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

DEVELOPMENT.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,10 @@ To run tests for all Python versions:
2121
tox
2222
```
2323

24+
## Fixing codestyle issues
25+
26+
If the tests fail on the flake8 step, run:
27+
28+
make fix-codestyle
29+
2430
TODO: Deduplicate Python version list in [tests.yaml](.github/workflows/tests.yaml)

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.venv:
2+
uv venv --python 3.12
3+
uv pip install black
4+
5+
fix-codestyle: .venv
6+
.venv/bin/black mollie
7+
8+
clean:
9+
rm -rf .venv

0 commit comments

Comments
 (0)