Update and cleanup our test configuration

This changeset updates a few of the testing and linting dependencies and makes several adjustments to cleanup and improve our tests and test configuration.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2023-09-06 10:57:38 -04:00
parent 86a19c945e
commit 73590840ee
2 changed files with 38 additions and 13 deletions

29
poetry.lock generated
View File

@@ -848,6 +848,17 @@ flake8 = ">=6.0.0"
[package.extras]
dev = ["coverage", "hypothesis", "hypothesmith (>=0.2)", "pre-commit", "pytest", "tox"]
[[package]]
name = "flake8-plugin-utils"
version = "1.3.3"
description = "The package provides base classes and utils for flake8 plugin writing"
optional = false
python-versions = ">=3.6,<4.0"
files = [
{file = "flake8-plugin-utils-1.3.3.tar.gz", hash = "sha256:39f6f338d038b301c6fd344b06f2e81e382b68fa03c0560dff0d9b1791a11a2c"},
{file = "flake8_plugin_utils-1.3.3-py3-none-any.whl", hash = "sha256:e4848c57d9d50f19100c2d75fa794b72df068666a9041b4b0409be923356a3ed"},
]
[[package]]
name = "flake8-print"
version = "5.0.0"
@@ -863,6 +874,20 @@ files = [
flake8 = ">=3.0"
pycodestyle = "*"
[[package]]
name = "flake8-pytest-style"
version = "1.7.2"
description = "A flake8 plugin checking common style issues or inconsistencies with pytest-based tests."
optional = false
python-versions = ">=3.7.2,<4.0.0"
files = [
{file = "flake8_pytest_style-1.7.2-py3-none-any.whl", hash = "sha256:f5d2aa3219163a052dd92226589d45fab8ea027a3269922f0c4029f548ea5cd1"},
{file = "flake8_pytest_style-1.7.2.tar.gz", hash = "sha256:b924197c99b951315949920b0e5547f34900b1844348432e67a44ab191582109"},
]
[package.dependencies]
flake8-plugin-utils = ">=1.3.2,<2.0.0"
[[package]]
name = "flask"
version = "2.3.3"
@@ -1035,8 +1060,8 @@ requests = "*"
[[package]]
name = "govuk-frontend-jinja"
version = "0.5.8-alpha"
description = ""
version = "0.5.8a0"
description = "Tools to use the GOV.UK Design System with Jinja-powered Python apps"
optional = false
python-versions = "*"
files = []

View File

@@ -42,20 +42,20 @@ coverage = "*"
vulture = "==2.10"
radon = "==6.0.1"
[tool.poetry.group.dev.dependencies]
isort = "==5.12.0"
pytest = "==7.4.2"
pytest-env = "==1.0.1"
pytest-mock = "==3.11.1"
pytest-playwright = "==0.4.3"
pytest-xdist = "==3.3.1"
isort = "~5.12.0"
pytest = "~7.4.2"
pytest-env = "~1.0.1"
pytest-mock = "~3.11.1"
pytest-playwright = "~0.4.3"
pytest-xdist = "~3.3.1"
beautifulsoup4 = "==4.12.2"
freezegun = "==1.2.2"
flake8 = "==6.1.0"
flake8-bugbear = "==23.9.16"
flake8-print = "==5.0.0"
moto = "~=4.2"
flake8 = "~6.1.0"
flake8-bugbear = "~23.9.16"
flake8-print = "~5.0.0"
flake8-pytest-style = "~1.7.2"
moto = "~4.2"
requests-mock = "==1.11.0"
jinja2-cli = {version = "==0.8.2", extras = ["yaml"]}
pip-audit = "*"