Generated from aind-library-template
Project description
aind-flake8-extensions: Pydantic Formatting checks
Install
Install in your dev dependencies aind-flake8-extensions
, make sure to pin to a release if you don't want to get random future additions.
Add to your .flake8 file
[flake8:local-plugins]
extension =
PF = aind_flake8_extensions.plugin:run_ast_checks
Usage
PF001 - checks for default= and Optional[type]
PF003 - ensures all usage of datetime is replaced with AwareDatetimeWithDefault
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
File details
Details for the file aind_flake8_extensions-0.6.2.tar.gz
.
File metadata
- Download URL: aind_flake8_extensions-0.6.2.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e68e368f7b330093e40ce536008d2df1bf97d2c0cecd4ad564df07f5d64794 |
|
MD5 | cb68ab1e532f5c78aad2e6c1361d2b1f |
|
BLAKE2b-256 | 045b3981e7f2a947342a4d1c72cfc36dba1cf03fb835c6e7e73e0efdb6c7f152 |
File details
Details for the file aind_flake8_extensions-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: aind_flake8_extensions-0.6.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7f83a811d55b9506e8881b2f7730dc5a5f895c71b585f848d8c931643a9fda |
|
MD5 | 8ce1dd8551d90831939db3b3c1c599b5 |
|
BLAKE2b-256 | ca94537f4cedf577f0c2231bce148c28de29e6808a08a205702601e1cf3b46ef |