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.3.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_flake8_extensions-0.6.3.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aind_flake8_extensions-0.6.3.tar.gz
Algorithm Hash digest
SHA256 48fe00186718524c3af9d1fdb1d04eb96c2b660d4fa6ad867bbb1cd69768aed0
MD5 0333ae6c78699745af78a490c8049d3d
BLAKE2b-256 b7ff140b1af7bf20f569619b8107c71483b1694a2204a6063cd31761a425c98b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_flake8_extensions-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 103e6c8dde0c73a6ecb5b9e8859419bd03a015a16a6d9d4d723613ac41eea6e5
MD5 91c45907ba2c8ba491829643b062eb89
BLAKE2b-256 f457a4b6bb073f497ffa324078ac20cd8814d3c60a395635384eed115f81a40c

See more details on using hashes here.

Supported by

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