Skip to content

TrisNol/sample-python-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license Github all releases GitHub forks

Sample Python Repo

This repo contains a skeleton for Python projects containing some basic DevOps´ components like CI/CD pipelines.

Linting

The code of this repo will be linted with PyLint automatically on each push and pull-request to ensure that the files are correctly formatted in order to improve readability.

Tests

You can add your tests in the test/ directory. By providing the prefix test_ the files will be recognized and executed by PyTest.

Documentation

The documentation is created with the help of MkDocs Material, which generates html-based docs that is exposed via GitHub pages. In order to see the documentation, some configuration in GitHub needs to be done. Head to the repo´s settings and enable GitHub pages. Set the source to branch gh-pages. The documentation should now be hosted at http[s]:<username>.github.io/<repo-name>

In order to adapt the config, change the specifics in mkdocs.yml. To manually build the documentation execute the following command:mkdocs build. However, the documentation will be built automatically on each push and added to the repo by a GitHub Action - so you don´t have to generate it yourself each time.

About

Sample Python repo for a quick start in future projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages