Introduction
flake8 for tab junkies. This extension allows you to pre-expand tabs into spaces before flake8 parses files, to get around flake8’s 8-space tab assumption.
Installation
Install it via pip:
$ pip install flake8 flake8-expandtab
Configuration
You can specify --tab-width to an integer value to activate this extension, or specify tab-width in your config.
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
flake8 – a great linting tool that really hates tabs
Rejected pycodestyle smart-tabs PR – kudos to dsedivec for the initial attempt at making flake8 usable with tab indentation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8-expandtab-0.3.tar.gz
(2.6 kB
view details)
File details
Details for the file flake8-expandtab-0.3.tar.gz.
File metadata
- Download URL: flake8-expandtab-0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e87533a300431726ef37ba42d8a98d20882b916090b174ca9f490337a9c635e
|
|
| MD5 |
8abfaef4c5d9f40da384bbb2b9485d6b
|
|
| BLAKE2b-256 |
013cee7d4d0bb25742ff09a3a762ebec0b0dcbfcdc8cbe5a7ac49ccdbe898d14
|