From f4092679d1f8dec30b02650ecca8e4b3785d40a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Balajti?= <mate.balajti@unibas.ch> Date: Mon, 18 Sep 2023 14:09:01 +0200 Subject: [PATCH] refactor: minor code updates --- .gitlab-ci.yml | 2 +- setup.py | 2 +- tests/test_frag.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0ab9bf0..0c14af8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,4 +31,4 @@ lint-test-job: # This job also runs in the test stage. - pip install -e . - flake8 --docstring-convention google term_frag_sel/ tests/ - pylint term_frag_sel/ tests/ - - mypy term_frag_sel/ + - mypy term_frag_sel/ tests/ diff --git a/setup.py b/setup.py index 3fe12de..469d786 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ """Set up project.""" from pathlib import Path -from setuptools import setup, find_packages +from setuptools import setup, find_packages # type: ignore project_root_dir = Path(__file__).parent.resolve() with open(project_root_dir / "requirements.txt", diff --git a/tests/test_frag.py b/tests/test_frag.py index da2d5bb..90c0f94 100644 --- a/tests/test_frag.py +++ b/tests/test_frag.py @@ -1,7 +1,7 @@ """Test utils.py functions.""" -import pandas as pd +import pandas as pd # type: ignore import pytest -from Bio import SeqIO +from Bio import SeqIO # type: ignore from term_frag_sel.fragmentation import fragmentation -- GitLab