Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sfstpala/flake8-import-style
A flake8 plugin to ensure explicit module imports
https://github.com/sfstpala/flake8-import-style
flake8 python quality-assurance
Last synced: 3 months ago
JSON representation
A flake8 plugin to ensure explicit module imports
- Host: GitHub
- URL: https://github.com/sfstpala/flake8-import-style
- Owner: sfstpala
- License: isc
- Created: 2017-08-03T14:24:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T04:22:22.000Z (over 2 years ago)
- Last Synced: 2024-06-07T06:03:04.183Z (5 months ago)
- Topics: flake8, python, quality-assurance
- Language: Python
- Homepage: https://pypi.python.org/pypi/flake8-import-style
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-flake8-extensions - flake8-import-style - Plugin to ensure explicit module imports. (Imports)
README
# flake8-import-style
[![Build](https://img.shields.io/travis/sfstpala/flake8-import-style.svg?style=flat-square)](https://travis-ci.org/sfstpala/flake8-import-style)
[![Coverage](https://img.shields.io/coveralls/sfstpala/flake8-import-style.svg?style=flat-square)](https://coveralls.io/r/sfstpala/flake8-import-style)
[![PyPI](https://img.shields.io/pypi/v/flake8-import-style.svg?style=flat-square)](https://pypi.python.org/pypi/flake8-import-style)A [flake8](http://flake8.pycqa.org/en/latest/) plugin to ensure explicit module imports.
pip install flake8_import_style
flake8 *.pyErrors (enabled by default):
- `I801 use 'import ...' instead of 'from ... import ...'`
Tested with Python 2.7, 3.4, 3.5, and 3.6.
Type `make test` or `tox` to run the test suite in a virtual environment.