... | @@ -10,10 +10,10 @@ At root level project should have : |
... | @@ -10,10 +10,10 @@ At root level project should have : |
|
- test or tests subfolder containing all the tests, unit tests and integration tests
|
|
- test or tests subfolder containing all the tests, unit tests and integration tests
|
|
|
|
|
|
## Testing
|
|
## Testing
|
|
Project must contain unit tests
|
|
- Project must contain unit tests
|
|
Test are done using pytest
|
|
- Test are done using pytest
|
|
New code have to be covered by unit tests
|
|
- New code have to be covered by unit tests
|
|
Tests must be ok when pushing new code
|
|
- Tests must be ok when pushing new code
|
|
|
|
|
|
## Continuous integration
|
|
## Continuous integration
|
|
Project must define a CI pipeline with
|
|
Project must define a CI pipeline with
|
... | @@ -23,10 +23,10 @@ Project must define a CI pipeline with |
... | @@ -23,10 +23,10 @@ Project must define a CI pipeline with |
|
- for docker images, templates stages for running static code analysis tools
|
|
- for docker images, templates stages for running static code analysis tools
|
|
|
|
|
|
## Coding standards
|
|
## Coding standards
|
|
PEP 8
|
|
Python projects must follow [PEP 8](https://www.python.org/dev/peps/pep-0008/)
|
|
|
|
|
|
## Tools used
|
|
## Tools used
|
|
Pycharm Community with default settings
|
|
Pycharm Community with default settings with those options activated
|
|
- auto code reformating
|
|
- auto code reformating
|
|
- auto code inspection
|
|
- auto code inspection
|
|
- auto import optimization
|
|
- auto import optimization
|
... | | ... | |