Needed and up-to-date tools to develop in Python
Project description
Python Dev Tools
Needed and up-to-date tools to develop in Python (WORK IN PROGRESS)
Documentation
The full documentation can be read at https://python-dev-tools.readthedocs.io.
Installation
Short version: pip install python-dev-tools
Long version: https://python-dev-tools.readthedocs.io/en/latest/installation.html
Use the provided linter, formatter and precommit hook where applicable
Installation with Visual Studio Code
pip install --user --upgrade python-dev-tools
Be sure to have the official Python extension installed in VS Code
In VS Code, open settings (F1 key, then type “Open Settings (JSON)”, then enter)
Add in the opened JSON file:
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.flake8Path": "/home/vincent/.local/bin/whatalinter",
Adapt the previous path according to your installation.
Features
Integrate features of commonly used tools. This package provides usual dependencies to develop Python software.
Simple linter
whatalinter a_python_file.py lints a_python_file.py
output is compatible with the one of pycodestyle (formerly named pep8) for easy integration in text editors and IDE
based on
pycodestyle: https://github.com/PyCQA/pycodestyle
pyflakes: https://github.com/PyCQA/pyflakes
mccabe: https://github.com/pycqa/mccabe
pydocstyle: https://github.com/PyCQA/pydocstyle
Simple formatter
TODO
Simple precommit hook
TODO
License
BSD 3-Clause license, feel free to contribute: https://python-dev-tools.readthedocs.io/en/latest/contributing.html.
TODO
documentation
linter
add more linters
formatter
precommit
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
2019.03.02
Add pydocstyle linter
2019.03.01
Add McCabe complexity checker
2019.02.26
Add pyflakes linter
Add pycodestyle linter
2019.02.23
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_dev_tools-2019.4.3.tar.gz
.
File metadata
- Download URL: python_dev_tools-2019.4.3.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be5ead5134d1a1c8ad986d21b18049c8c7a39c73498e2bb9f41727a4002c35d9 |
|
MD5 | d514c0796415c6722103f7213ce99948 |
|
BLAKE2b-256 | 87f2006a84ead5fe7f13ee45590102b547a134cc7091eb630e2dffb0e82e8a6d |
File details
Details for the file python_dev_tools-2019.4.3-py2.py3-none-any.whl
.
File metadata
- Download URL: python_dev_tools-2019.4.3-py2.py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e1833a4bf8d20df43b3924b8c0802363bba1be41a6b6e1b4c1621aa94f50d3 |
|
MD5 | 8c4b1beb2ebe5ed2e991c5b428e3191d |
|
BLAKE2b-256 | b29b2a6f92477182a5135acedacb4c66395df557030004f0bebf31f08a7246ea |