flake8-ensure-ascii
Ensure that python code files does not contains UTF-8 or other fancy char encoding.
This module provides a plugin for flake8, the Python code checker.
Installation
Install with pip:
pip install flake8-ensure-ascii
The plugin officially supports Python >= 3.6 and flake8 >= 3.7.
You may find other Python 3 versions work as well.
Usage
The plugin finds non ASCII chars you may not want to commit:
def my_function():
print("It works 😋")
./my_file.py:2:21: ENC100 Non ASCII encoding found
Changelog
1.0.0
Breaking changes
Initial commit !
Metadata
Release files for flake8-ensure-ascii 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flake8-ensure-ascii-1.0.0.tar.gz | 3.0 kB | Without provenance | Details for flake8-ensure-ascii-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flake8_ensure_ascii-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for flake8_ensure_ascii-1.0.0-py3-none-any.whl |
Total release size: 7.0 kB
Release files / flake8-ensure-ascii-1.0.0.tar.gz
| Download URL | flake8-ensure-ascii-1.0.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b965231a2dede024ea90f349c4e260ab24e92d0d23bc8ea8165def06912864f
|
|
BLAKE2b-256 checksum How to use checksums |
010e9e28ecc4d4182da5bc9eab027e631173ac4454084a22dd1a40c14d4ba764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / flake8_ensure_ascii-1.0.0-py3-none-any.whl
| Download URL | flake8_ensure_ascii-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cfb64217a682bc89f4c8d99c6f56e0afb739fb4ef7c91b5ab3b07782d109cea
|
|
BLAKE2b-256 checksum How to use checksums |
8822082d6d2601df336654badd31e24ac70520f0c3a45e95275a92b5c953b850
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Security for flake8-ensure-ascii 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.