Browse Source

fixes for new findings of flake8

xmlparsing
Holger Frey 2 years ago
parent
commit
da42f2358c
  1. 3
      Makefile
  2. 2
      src/sensospot_parser/__init__.py
  3. 2
      src/sensospot_parser/parameters.py

3
Makefile

@ -54,7 +54,8 @@ lint: ## reformat with black and check style with flake8 @@ -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"

2
src/sensospot_parser/__init__.py

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
Parsing the numerical output from Sensovations Sensospot image analysis.
"""
__version__ = "0.8.0"
__version__ = "0.8.1"
import sys

2
src/sensospot_parser/parameters.py

@ -5,7 +5,7 @@ Parsing the numerical output from Sensovations Sensospot image analysis. @@ -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

Loading…
Cancel
Save