From 07884011d75ba3a70e410a61b68b0f0d0bc482a4 Mon Sep 17 00:00:00 2001 From: drozdowsky Date: Fri, 8 Sep 2023 15:59:10 +0200 Subject: [PATCH] Bump version, fix CI --- .github/workflows/pythonpackage.yml | 4 ++-- setup.cfg | 3 +++ setup.py | 2 +- tests/settings.py | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 63935ec..4cfa5ec 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [2.7, 3.6, 3.7, 3.8, 3.9] + python-version: [3.9, 3.11] services: postgres: @@ -39,4 +39,4 @@ jobs: - name: Test with pytest run: | pip install -e . - pytest + python -m pytest diff --git a/setup.cfg b/setup.cfg index 1017c21..51cec1a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,5 +2,8 @@ django_find_project = false DJANGO_SETTINGS_MODULE = tests.settings +[flake8] +extend-ignore = F401,F403,E501 + [wheel] universal = 1 diff --git a/setup.py b/setup.py index adbb70c..068e85b 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="django-tracking-model", - version="0.1.6", + version="0.1.7", packages=["tracking_model"], description="Track changes made to django model instance fields.", long_description=README, diff --git a/tests/settings.py b/tests/settings.py index 68c064e..371415e 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -14,7 +14,7 @@ "NAME": "django_tracking_model", "USER": "postgres", "PASSWORD": "postgres", - "HOST": "localhost", + "HOST": "postgres", "PORT": "", } }