From 05c923f4fbd8dc1dff811d0edf712fdd6f9fba9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ingvar=20Dahlgren?= Date: Tue, 23 Apr 2024 12:02:09 +0200 Subject: [PATCH] fix lint --- .github/workflows/lint_python.yml | 4 ++-- chempy/util/tests/test_parsing.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 33a3b75c..1bc77f30 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -14,10 +14,10 @@ jobs: - run: bandit --recursive --skip B101,B102,B110,B112,B307,B404,B603,B607 . - run: black --check . || true - run: codespell --ignore-words-list="ans,claus,fith,nam,nd,ond,serie,te" - - run: flake8 . --count --max-complexity=66 --max-line-length=118 + - run: flake8 . --count --max-complexity=66 --max-line-length=129 --show-source --statistics - run: pip install flake8-bugbear flake8-comprehensions flake8-return flake8-simplify - - run: flake8 . --count --exit-zero --max-complexity=66 --max-line-length=118 + - run: flake8 . --count --exit-zero --max-complexity=66 --max-line-length=129 --show-source --statistics - run: isort --check-only --profile black . || true - run: pip install setuptools diff --git a/chempy/util/tests/test_parsing.py b/chempy/util/tests/test_parsing.py index 580e8079..b3cf0118 100644 --- a/chempy/util/tests/test_parsing.py +++ b/chempy/util/tests/test_parsing.py @@ -731,7 +731,6 @@ def test_formula_to_unicode_caged(species, unicode): ), ], ) - @requires(parsing_library) def test_formula_to_html(species, html): assert formula_to_html(species) == html