diff --git a/docs/source/conf.py b/docs/source/conf.py index e7799a1..8f7993b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -6,8 +6,10 @@ # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information +import os import re import time +from urllib.request import urlretrieve project = 'EWMHlib' year = time.strftime("%Y") @@ -42,9 +44,6 @@ # -- Copy the modules documentation ------------------------------------------ # https://stackoverflow.com/questions/66495200/is-it-possible-to-include-external-rst-files-in-my-documentation -from urllib.request import urlretrieve -import os - urlretrieve( "https://raw.githubusercontent.com/kalmat/ewmhlib/master/README.md", "index.md" diff --git a/ruff.toml b/ruff.toml index 1b79097..5017f5b 100644 --- a/ruff.toml +++ b/ruff.toml @@ -45,16 +45,6 @@ ignore = [ # TODO: Add and configure isort (I) first "RUF022", - - # TODO: Consider later - "UP031", # printf-string-formatting - "RUF059", # unused-unpacked-variable - - # TODO: Not autofixable, address in a separate PR ! - "E722", - "E402", - "F401", - "ANN201", ] # F401 would remove imports not marked as explicit re-exports, which may break API boundaries extend-unsafe-fixes = ["F401"]