Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_ecocode-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for flake8_ecocode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4d2c847339a3f468ea364132a794deaf138a80a4624e2d3bd6bc03349a0b44d8
MD5 d82053381a711666be27437a5ec1ee69
BLAKE2b-256 11c114420b3cc7b5caf4f284a520ea85efbe5cb1e000dc138921e03c939bc118

See more details on using hashes here.

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

Hashes for flake8_ecocode-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6102562e72769406d44e48640d1f014139fa0b86986776db2cc19a92e33e4256
MD5 02b93740e393634e6757af261af5ba6b
BLAKE2b-256 45e99805dd8cead6106dd053a6cce1390bff0f2dcb058a4b2d079d74dea02a89

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page