A demo flake8 plugin that tries to protect against Python mutable defaults issue
Project description
flake8-explicitclassvar
A demo flake8 plugin that tries to protect against Python mutable defaults issue.
Development
- Create a venv:
uv venv - Activate it:
source .venv/bin/activate - Install the plugin in editable mode:
uv pip install -e . - Run Flake8:
flake8 tests/
Rule
ECV100: class variable must be annotated with ClassVar or have a default of None"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flake8_explicitclassvar-0.1.0.tar.gz.
File metadata
- Download URL: flake8_explicitclassvar-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dd751b5ffd75a96cf4afdf0db6b82821dd6b2b16d47b4824e13715e443c71d0
|
|
| MD5 |
85876030c97f3a739cec7900c75a438c
|
|
| BLAKE2b-256 |
634eb823448e8550a5be6c9148fa46e23ff633aaa1bedcaeb236183f7fe54583
|
File details
Details for the file flake8_explicitclassvar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: flake8_explicitclassvar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3951197b4331ee9e617df968e877f3de89d09e5a10238b44ee45b082bdd8c31
|
|
| MD5 |
7d5741a7e54fb7e7fab07293e5d5f4c2
|
|
| BLAKE2b-256 |
a4ecd0c0336bbf6230d01ffddafee4e0dc93374e0e44e7d866cf6f21e77f1b3c
|