File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -76,14 +76,20 @@ admin interface, go back to the main interface. You're now logged in.
76
76
77
77
## Contributing
78
78
79
- Before committing make sure to install the git pre-commit hook to adhere to the
80
- codestyle.
79
+ Code formatting and linting is done using [ ` ruff ` ] and [ ` biome ` ] . You can run
80
+ formatting using ` make format ` . Linting can be done using ` make lint ` and
81
+ automatic fixing of linting errors can be done using ` make lint-fix ` . CI checks
82
+ that you adhere to these coding standards.
83
+
84
+ You can install the git pre-commit hook to help you adhere to the codestyle:
81
85
82
86
``` bash
83
87
ln -s ../../tools/githook/pre-commit .git/hooks/
84
-
85
88
```
86
89
90
+ [ ` ruff ` ] : https://docs.astral.sh/ruff/ )
91
+ [ `biome` ] : https://biomejs.dev/
92
+
87
93
If you'd like to regenerate the database dump files, you can run the following commands:
88
94
```
89
95
./manage.py dumpdata auth --format=json --indent=4 --exclude=auth.permission > pgcommitfest/commitfest/fixtures/auth_data.json
You can’t perform that action at this time.
0 commit comments