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
Metadata
Release files for aind-flake8-extensions 0.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aind_flake8_extensions-0.6.3.tar.gz | 32.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aind_flake8_extensions-0.6.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.9 kB
Release files / aind_flake8_extensions-0.6.3.tar.gz
| Download URL | aind_flake8_extensions-0.6.3.tar.gz |
|---|---|
| Size | 32.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48fe00186718524c3af9d1fdb1d04eb96c2b660d4fa6ad867bbb1cd69768aed0
|
|
BLAKE2b-256 checksum How to use checksums |
b7ff140b1af7bf20f569619b8107c71483b1694a2204a6063cd31761a425c98b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / aind_flake8_extensions-0.6.3-py3-none-any.whl
| Download URL | aind_flake8_extensions-0.6.3-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
103e6c8dde0c73a6ecb5b9e8859419bd03a015a16a6d9d4d723613ac41eea6e5
|
|
BLAKE2b-256 checksum How to use checksums |
f457a4b6bb073f497ffa324078ac20cd8814d3c60a395635384eed115f81a40c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|