diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7953b87..1082370 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,6 +27,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements_dev.txt + pip install flake8 pytest black mypy + pip install tox==3.24.4 + pip install -r requirements.txt - name: Test with tox run: tox \ No newline at end of file diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index e32a168..7b988b7 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -29,7 +29,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements_dev.txt + pip install flake8 pytest black mypy + pip install tox==3.24.4 + pip install -r requirements.txt pip install build - name: Lint with flake8 run: | diff --git a/setup.cfg b/setup.cfg index 7466cf2..d4ec4eb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,11 +17,14 @@ install_requires = [options.extras_require] testing = - black - flake8 - pytest - mypy - tox + pytest>=7.1.3 + mypy>=0.971 + flake8>=5.0.4 + tox>=3.24.4 + black>=22.8.0 + +[options.package_data] +DataBase-Connect=py.typed [flake8] max-line-length = 160