Skip to content

OCCCAS/python-project-template

Repository files navigation

Python project template

For start project write:

python3 -m venv venv
. venv/bin/activate
pip install -r requiremenets.txt
chmod +x run.sh
pre-commit install

For run project write:

./run.sh

For run tests write:

python3 -m unittest tests/__main__.py

Used linters

black

For reformatting code
More about it: https://github.com/psf/black

pyupgrade

For upgrade python code syntax for newer versions of the language
More about it: https://github.com/asottile/pyupgrade

reorder-python-imports

Tool for automatically reordering python imports
More about it: https://github.com/asottile/reorder_python_imports

autoflake

Removes unused imports and unused variables from Python code
More about it: https://github.com/PyCQA/autoflake

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages