Skip to main content

No project description provided

Project description

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

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

flake8_ecocode-0.1.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page