flake8-ecocode
What it is
A port to Python of the Python-specific parts of ecoCode.
Java Code has been converted to Python, using the ast module.
Installation
pip install flake8-ecocode
or from source:
git clone https://github.com/abilian/flake8-ecocode.git
cd flake8-ecocode
pip install .
Development
Setup
git clone https://github.com/abilian/flake8-ecocode.git
cd flake8-ecocode
poetry install
Run tests
make test
make lint
or against various Python versions:
nox
Current status
Only 2 checkers have been converted so far out of 11 currently in ecoCode-python.
TODO
- Convert the remaining checkers
- Add tests
- Add CI/CD
- Add documentation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8_ecocode-0.1.0.tar.gz
(2.8 kB
view details)
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_ecocode-0.1.0.tar.gz.
File metadata
- Download URL: flake8_ecocode-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d2c847339a3f468ea364132a794deaf138a80a4624e2d3bd6bc03349a0b44d8
|
|
| MD5 |
d82053381a711666be27437a5ec1ee69
|
|
| BLAKE2b-256 |
11c114420b3cc7b5caf4f284a520ea85efbe5cb1e000dc138921e03c939bc118
|
File details
Details for the file flake8_ecocode-0.1.0-py3-none-any.whl.
File metadata
- Download URL: flake8_ecocode-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6102562e72769406d44e48640d1f014139fa0b86986776db2cc19a92e33e4256
|
|
| MD5 |
02b93740e393634e6757af261af5ba6b
|
|
| BLAKE2b-256 |
45e99805dd8cead6106dd053a6cce1390bff0f2dcb058a4b2d079d74dea02a89
|