1
0
mirror of https://github.com/CMiksche/gitea-auto-update synced 2025-12-10 16:07:23 +01:00

refactor: follow PEP standards

Follow Python Enhancement Proposals and add PyLint to enforce them.
This commit is contained in:
Christoph Miksche
2020-03-27 16:56:05 +01:00
parent ae8d54d018
commit b92496fc0d
11 changed files with 249 additions and 199 deletions

View File

@@ -67,9 +67,10 @@ The following instructions help you for developing.
* Clone this git repo
* Install pipenv: `pip install pipenv`
* Install all dependencies: `pipenv install`
* You can run the tests with `python tests.py`
* You can run the tests with `python -m unittest`
* You can run pylint with `pylint gitea_auto_update`
* After changes and commit, you can check if your commit message follows the contribution guidelines with `gitlint`. If there is a problem, gitlint will show you a error message.
* After pushing, you should check the build status which currently checks the tests and the commit message format.
* After pushing, you should check the build status which currently checks the tests, pylint and the commit message format.
## Contributors