From 17cfc65fbf1dac5ce37645d53489dc9bc1cf378f Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> Date: Thu, 3 Oct 2024 16:11:31 +0300 Subject: [PATCH] Fix CI --- .flake8 | 7 +++++-- .readthedocs.yaml | 13 +++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.flake8 b/.flake8 index 367e8ec4..01b9f8dd 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 9b067d35..de87c933 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