Check for FIXME, TODO and other temporary developer notes. Plugin for flake8.
Project description
flake8-fixme
Check for FIXME, TODO and other temporary developer notes.
This module provides a plugin for flake8, the Python code checker.
This module was inspired by flake8-todo
Installation
Install with pip:
pip install flake8-fixme
The plugin officially supports Python >= 3.6 and flake8 >= 3.7.
You may find other Python 3 versions work as well.
Usage
The plugin finds temporary comments you may not want to commit:
def my_function():
# FIXME actual implementation here!
pass
./my_file.py:2:7: T100 Fixme found (FIXME)
Each word has a seperate warning so you can adjust your workflow. We like to allow committing TODOs, but deny committing FIXMEs.
Changelog
1.0.2
Enhancements
- development pipeline now runs integration tests with flake8, for
- locally built package (all builds)
- package downloaded from pypi (after version release)
1.0.1
Bugfixes
- fixed pypi packaging not picking up source files
- fixed setup.py not loading markdown readme correctly
1.0.0
Breaking changes
Upgrading to flake8-fixme from flake8-todo has the following breaking changes:
- error codes have been changed as follows:
T100: line containsFIXMET101: line containsTODOT102: line containsXXX
- a line containing multiple words will raise an error for each word
- drop support for Python
2.7
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flake8-fixme-1.1.1.tar.gz.
File metadata
- Download URL: flake8-fixme-1.1.1.tar.gz
- Upload date:
- Size: 3.4 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.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50cade07d27a4c30d4f12351478df87339e67640c83041b664724bda6d16f33a
|
|
| MD5 |
da9615dc99c3600f5193ce4d14d01fe1
|
|
| BLAKE2b-256 |
589651adbf26b1cc4c2f3a434fa06972a6bc9b3d96f6a4c04dfe9a604b5ce10e
|
File details
Details for the file flake8_fixme-1.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: flake8_fixme-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 8.0 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.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
226a6f2ef916730899f29ac140bed5d4a17e5aba79f00a0e3ae1eff1997cb1ac
|
|
| MD5 |
b86be9fe7a572367c9b6b581975600b8
|
|
| BLAKE2b-256 |
c6a2f3c813f06cbc1b38b1a1e3647ae204254844c7f28ce9c8eaee053d14e43d
|