mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
added section about formatting and linting
This commit is contained in:
parent
023b5a4aba
commit
5d519ebda3
@ -14,4 +14,14 @@ To fix a bug or implement a feature, fork the repository and make all changes to
|
|||||||
|
|
||||||
## Releases
|
## Releases
|
||||||
|
|
||||||
Everything on the master branch is what's in the latest release and is what you get in your container when you `pull` either the *:latest* tag or the newest named version. If you want to test the newest changes and improvements, clone the repository and build the docker container with the Dockerfile from the testing branch.
|
Everything on the master branch is what's in the latest release and is what you get in your container when you `pull` either the *:latest* tag or the newest named version. If you want to test the newest changes and improvements, clone the repository and build the docker container with the Dockerfile from the testing branch.
|
||||||
|
|
||||||
|
## Code formatting and linting
|
||||||
|
|
||||||
|
To keep things clean and consistent for everybody, there is a github action setup to lint and check the changes. You can test your code locally first if you want. For example if you made changes in the **download** module, run
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./deploy.sh validate tubearchivist/home/src/download.py
|
||||||
|
```
|
||||||
|
|
||||||
|
to validate your changes. If you omit the path, all the project files will get checked. This is subject to change as the codebase improves.
|
Loading…
Reference in New Issue
Block a user