Skip to main content

This flake8 plugin is for checking imports isolations.

Project description

# flake8_isolated_packages

This Flake8 plugin is for checking imports isolations. One rule: Any module from specified package could not be import in another package

# Quick Start Guide

  1. Install flake8-isolated-packages from PyPI with pip:

    pip install flake8-isolated-packages
  2. Configure a mark that you would like to validate:

    cd project_root/
    vi .flake8
  3. Add to file following:

    [flake8] isolated_packages = service, tests

  1. Run flake8:

    flake8 .

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-isolated-packages-0.1.1.tar.gz (3.0 kB view hashes)

Uploaded Source

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