diff --git a/.flake8 b/.flake8 index 367e8ec..01b9f8d 100644 --- a/.flake8 +++ b/.flake8 @@ -1,6 +1,9 @@ [flake8] max-line-length = 88 max-complexity = 10 -# These checks violate PEP8 so let's ignore them -extend-ignore = E203 +extend-ignore = + # E203: Whitespace before ':' (violates PEP8 and black style) + E203, + # A005: A module is shadowing a Python builtin module + A005, extend-exclude = */site-packages/* diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9b067d3..de87c93 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,16 +1,13 @@ -# .readthedocs.yaml -# Read the Docs configuration file -# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details - -# Required version: 2 -# Build documentation in the docs/ directory with Sphinx +build: + os: 'ubuntu-lts-latest' + tools: + python: '3.11' + sphinx: fail_on_warning: true -# Optionally set the version of Python and requirements required to build your docs python: - version: '3.8' install: - requirements: docs/requirements.txt