From da42f2358c69960d9229bc669379e5e4f97bb4d1 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 30 Aug 2022 11:36:49 +0200 Subject: [PATCH] fixes for new findings of flake8 --- Makefile | 3 ++- src/sensospot_parser/__init__.py | 2 +- src/sensospot_parser/parameters.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 62a54b1..495bdb3 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,8 @@ lint: ## reformat with black and check style with flake8 isort src isort tests black src tests - flake8 --ignore E231,W503,E402 src tests + flake8 --ignore E231,W503,E402 src + flake8 --ignore S101 tests test: lint ## run tests quickly, stop on first error pytest tests -x -l --last-failed --disable-warnings -m "not functional" diff --git a/src/sensospot_parser/__init__.py b/src/sensospot_parser/__init__.py index ad00f48..a01faca 100644 --- a/src/sensospot_parser/__init__.py +++ b/src/sensospot_parser/__init__.py @@ -3,7 +3,7 @@ Parsing the numerical output from Sensovations Sensospot image analysis. """ -__version__ = "0.8.0" +__version__ = "0.8.1" import sys diff --git a/src/sensospot_parser/parameters.py b/src/sensospot_parser/parameters.py index 9fa9b9f..999d67e 100644 --- a/src/sensospot_parser/parameters.py +++ b/src/sensospot_parser/parameters.py @@ -5,7 +5,7 @@ Parsing the numerical output from Sensovations Sensospot image analysis. import pathlib from typing import Any, Dict, Union, Optional -from xml.etree.ElementTree import Element as ElementType +from xml.etree.ElementTree import Element as ElementType # noqa: S405 import numpy import pandas