From 6fa302c2a26a2836bcda4c8e4246603b98f8f931 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A1t=C3=A9=20Balajti?= <mate.balajti@unibas.ch>
Date: Tue, 19 Sep 2023 13:38:02 +0200
Subject: [PATCH] update setup, ci

---
 .gitlab-ci.yml    | 7 ++-----
 setup.py          | 4 ++--
 tests/__init__.py | 2 +-
 tsg/main.py       | 1 +
 4 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cec4b98..28ed56a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,9 +13,8 @@ build-job:       # First stage deployment and installation of dependencies.
     - pip install -r requirements.txt
     - pip install -r requirements_dev.txt
     - pip install -e .
-    - echo "Dependencies successfully deployed."
 
-Coverage-test-job:   # Test Stage
+unit-test-job:   # Test Stage
   stage: test        # Starts when the above build stages finishes installing dependencies.
   script:
     - pip install -r requirements.txt
@@ -23,9 +22,8 @@ Coverage-test-job:   # Test Stage
     - pip install -e .
     - coverage run --source tsg -m pytest
     - coverage report -m
-    - echo "Coverage successfully deployed."
 
-Flake8/Pylint/mypy-test-job:   # Test Stage
+lint-test-job:   # Test Stage
   stage: test    # Deploys and runs all 3 linters.
   script:
     - pip install -r requirements.txt
@@ -34,4 +32,3 @@ Flake8/Pylint/mypy-test-job:   # Test Stage
     - flake8 --docstring-convention google tsg/ tests/
     - pylint tsg/ tests/
     - mypy tsg/ tests/
-    - echo "Linters successfully deployed."
diff --git a/setup.py b/setup.py
index 638df50..47e0eb5 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",
@@ -16,7 +16,7 @@ setup(
     url=URL,
     license='MIT',
     author='Larissa Glass, Michael Zimmermann, Andri Fraenkl',
-    author_email='mate.balajti@unibas.ch',
+    author_email='michael.zimmermann@unibas.ch',
     description='Transcript structure generator',
     packages=find_packages(),
     install_requires=INSTALL_REQUIRES,
diff --git a/tests/__init__.py b/tests/__init__.py
index 8c26b48..01d21ff 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1 +1 @@
-"""Tests for the package tsg."""
+"""Initialise tests."""
diff --git a/tsg/main.py b/tsg/main.py
index d2c1bb6..7926ef5 100644
--- a/tsg/main.py
+++ b/tsg/main.py
@@ -308,6 +308,7 @@ class Gtf:
 class TranscriptGenerator:
     """Class to sample a transcript."""
 
+    # pylint: disable=W0613
     def __new__(
         cls,
         transcript_id: str,
-- 
GitLab