I am a Freelance DevOps Engineer graduated from UTC (University of Technology of Compiègne) in 2014. I am a DevOps enthusiast embracing Cloud computing technologies to build automated infrastructure at large scale.
Python clean code
Florian Dambrine - Principal Engineer - GumGum
Python clean code
- Python Virtualenv / Pyenv & Pyenv-Virtualenv
- Project template with Cookiecutter
- Code Style with Isort & Black
- Code Linter with Flake8 (PEP8)
- Code Testing with Pytest
- Code Automation tooling with Tox
- Documentation with Sphinx
Microservice configuration handling
- The 12Factor Application & Dynaconf
Python utility / library to sort imports alphabetically, and automatically separated into sections. It provides a command line utility, Python library and plugins for various editors to quickly sort all your imports. It currently cleanly supports Python 2.7 and 3.4+ without any dependencies.
Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters.
Python library that wraps PyFlakes, pycodestyle and Ned Batchelder's McCabe script. It is a great toolkit for checking your code base against coding style (PEP8), programming errors (like “library imported but unused” and “Undefined name”) and to check cyclomatic complexity.
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.
Aims to automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software.
Aims to provide a simplified interface to run commonly used commands on a project (build / run / dependencies / docker run). Consider it as being list of shortcuts to ease your life
Sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Georg Brandl and licensed under the BSD license.
Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements.
Python Clean Code
By Florian Dambrine