Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flake8-pyprojecttoml

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flake8-pyprojecttoml

Inject pyproject.toml support into flake8.

  • 0.0.2
  • PyPI
  • Socket score

Maintainers
1

.. image:: https://gitlab.com/durko/flake8-pyprojecttoml/badges/master/pipeline.svg :target: https://gitlab.com/durko/flake8-pyprojecttoml/-/commits/master :alt: pipeline status

.. image:: https://gitlab.com/durko/flake8-pyprojecttoml/badges/master/coverage.svg :target: https://gitlab.com/durko/flake8-pyprojecttoml/-/commits/master :alt: coverage report

.. image:: https://img.shields.io/pypi/pyversions/flake8-pyprojecttoml :alt: python versions

==================== flake8-pyprojecttoml

This extension adds support reading flake8 config from pyproject.toml. It uses flake8's plugin system to automatically monkeypatch the config system. Settings from pyproject.toml will be used regardless of invocation (CLI, pytest, IDE, ...).

Getting started

Simply install with pip::

pip install flake8-pyprojecttoml

Migrate your flake8 config to pyproject.toml (example <https://gitlab.com/durko/flake8-pyprojecttoml/-/blob/master/pyproject.toml>_) and use as usual.

Contributing

Thank you for considering to contribute to flake8-pyprojecttoml.

To submit issues or create merge requests please follow the instructions provided in the contribution guide <https://gitlab.com/durko/flake8-pyprojecttoml/-/blob/master/CONTRIBUTING.rst>_.

By contributing to flake8-pyprojecttoml you accept and agree to the terms and conditions laid out in there.

Development

Clone the repository and setup your local checkout::

git clone https://gitlab.com/durko/flake8-pyprojecttoml.git

cd flake8-pyprojecttoml python -m venv venv . venv/bin/activate

pip install -r requirements-dev.txt pip install -e .

This creates a new virtual environment with the necessary python dependencies and installs flake8-pyprojecttoml in editable mode. The flake8-pyprojecttoml code base uses pytest as its test runner, run the test suite by simply invoking::

pytest

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc