From dc54c5d1ee0acbb1858f6150dad8e12ec5fcc7eb Mon Sep 17 00:00:00 2001 From: Josh Kirk <59419126+this-josh@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:40:40 +0800 Subject: [PATCH] add flake8 and coverage --- pyproject.toml | 2 ++ requirements-dev.lock | 10 +++++++++- requirements.lock | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 813e14b..d1131fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,8 @@ dev-dependencies = [ "pytest>=8.3.3", "pytest-mock>=3.14.0", "ruff>=0.6.5", + "flake8>=7.1.1", + "coverage>=7.6.1", ] [tool.hatch.metadata] diff --git a/requirements-dev.lock b/requirements-dev.lock index cc38c21..e7d0a0d 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -3,19 +3,27 @@ # # last locked with the following flags: # pre: false -# features: [] +# features: ["dev"] # all-features: false # with-sources: false # generate-hashes: false # universal: false -e file:. +coverage==7.6.1 +flake8==7.1.1 iniconfig==2.0.0 # via pytest +mccabe==0.7.0 + # via flake8 packaging==24.1 # via pytest pluggy==1.5.0 # via pytest +pycodestyle==2.12.1 + # via flake8 +pyflakes==3.2.0 + # via flake8 pytest==8.3.3 # via pytest-mock pytest-mock==3.14.0 diff --git a/requirements.lock b/requirements.lock index 505fd45..3b28b6a 100644 --- a/requirements.lock +++ b/requirements.lock @@ -3,7 +3,7 @@ # # last locked with the following flags: # pre: false -# features: [] +# features: ["dev"] # all-features: false # with-sources: false # generate-hashes: false