Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aind_flake8_extensions-0.6.2.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

aind_flake8_extensions-0.6.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file aind_flake8_extensions-0.6.2.tar.gz.

File metadata

File hashes

Hashes for aind_flake8_extensions-0.6.2.tar.gz
Algorithm Hash digest
SHA256 d7e68e368f7b330093e40ce536008d2df1bf97d2c0cecd4ad564df07f5d64794
MD5 cb68ab1e532f5c78aad2e6c1361d2b1f
BLAKE2b-256 045b3981e7f2a947342a4d1c72cfc36dba1cf03fb835c6e7e73e0efdb6c7f152

See more details on using hashes here.

File details

Details for the file aind_flake8_extensions-0.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aind_flake8_extensions-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af7f83a811d55b9506e8881b2f7730dc5a5f895c71b585f848d8c931643a9fda
MD5 8ce1dd8551d90831939db3b3c1c599b5
BLAKE2b-256 ca94537f4cedf577f0c2231bce148c28de29e6808a08a205702601e1cf3b46ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page