Initial commit

This commit is contained in:
Hal 2025-01-06 01:26:03 +08:00 committed by GitHub
commit b1a1a6866d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 495 additions and 0 deletions

34
.flake8 Normal file
View file

@ -0,0 +1,34 @@
[flake8]
ignore = BLK100
# flake8-quotes:
# Use double quotes as our default to comply with black, we like it and
# don't want to use single quotes anymore.
# We would love to configure this via our pyproject.toml but flake8-3.8 does
# not support it yet.
inline-quotes = double
multiline-quotes = double
docstring-quotes = double
avoid-escape = True
# flake8-docstrings
# Use the Google Python Styleguide Docstring format.
docstring-convention=google
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
docs/source/conf.py,
# The old directory contains Flake8 2.0
old,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist,
venv,
docs
max-line-length = 120