From ea90aec1326ee7dd3af7c890507103b2382fe896 Mon Sep 17 00:00:00 2001 From: taeefnajib Date: Wed, 22 Nov 2023 06:49:20 +0600 Subject: [PATCH] pytest is removed & -e . is added to requirements --- .github/workflows/python-publish.yml | 3 --- pyproject.toml | 3 --- requirements.txt | 3 ++- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 9fc946b..f589101 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -38,9 +38,6 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - # - name: Test with pytest - # run: | - # pytest -v - name: Build package run: python -m build - name: Publish package diff --git a/pyproject.toml b/pyproject.toml index 5a944a5..a8c5b11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,9 +2,6 @@ requires = ['setuptools', "wheel"] build-backend = "setuptools.build_meta" -[tool.pytest.ini_options] -testpaths = ["tests"] - [tool.mypy] mypy_path = "src" ignore_missing_imports = true \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 872415a..6c4a422 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,5 @@ python-dateutil pytz PyYAML six -tzdata \ No newline at end of file +tzdata +-e . \ No newline at end of file