From 40c778fb9c35ece6ac6274c0b67b00c5057be6cb Mon Sep 17 00:00:00 2001 From: Patrick Ogenstad Date: Sun, 30 Jun 2024 21:59:54 +0200 Subject: [PATCH] Remove obsolete encoding declaration --- docs/conf.py | 2 -- pyproject.toml | 1 - 2 files changed, 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 84aa4b32..df5cb207 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # nornir documentation build configuration file, created by # sphinx-quickstart on Sun Nov 19 10:41:40 2017. # diff --git a/pyproject.toml b/pyproject.toml index a57b6014..bde24785 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -167,7 +167,6 @@ ignore = [ "TRY004", # Prefer `TypeError` exception for invalid type "TRY300", # Consider moving this statement to an `else` block "TRY400", # Use `logging.exception` instead of `logging.error` - "UP009", # UTF-8 encoding declaration is unnecessary "UP015", # Unnecessary open mode parameters "UP032", # Use f-string instead of `format` call "UP034", # Avoid extraneous parentheses