From 8d2bb942681342251d040af436a2e54e0d774b89 Mon Sep 17 00:00:00 2001 From: Steven Gerrits Date: Tue, 27 Feb 2024 16:22:05 +0000 Subject: [PATCH] Add ruff and update poetry --- poetry.lock | 13 ++++++------- pyproject.toml | 1 + 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index 21a4b98..fbed430 100644 --- a/poetry.lock +++ b/poetry.lock @@ -643,22 +643,21 @@ files = [ [[package]] name = "marshmallow" -version = "3.20.2" +version = "3.21.0" description = "A lightweight library for converting complex datatypes to and from native Python datatypes." optional = false python-versions = ">=3.8" files = [ - {file = "marshmallow-3.20.2-py3-none-any.whl", hash = "sha256:c21d4b98fee747c130e6bc8f45c4b3199ea66bc00c12ee1f639f0aeca034d5e9"}, - {file = "marshmallow-3.20.2.tar.gz", hash = "sha256:4c1daff273513dc5eb24b219a8035559dc573c8f322558ef85f5438ddd1236dd"}, + {file = "marshmallow-3.21.0-py3-none-any.whl", hash = "sha256:e7997f83571c7fd476042c2c188e4ee8a78900ca5e74bd9c8097afa56624e9bd"}, + {file = "marshmallow-3.21.0.tar.gz", hash = "sha256:20f53be28c6e374a711a16165fb22a8dc6003e3f7cda1285e3ca777b9193885b"}, ] [package.dependencies] packaging = ">=17.0" [package.extras] -dev = ["pre-commit (>=2.4,<4.0)", "pytest", "pytz", "simplejson", "tox"] -docs = ["alabaster (==0.7.15)", "autodocsumm (==0.2.12)", "sphinx (==7.2.6)", "sphinx-issues (==3.0.1)", "sphinx-version-warning (==1.1.2)"] -lint = ["pre-commit (>=2.4,<4.0)"] +dev = ["marshmallow[tests]", "pre-commit (>=3.5,<4.0)", "tox"] +docs = ["alabaster (==0.7.16)", "autodocsumm (==0.2.12)", "sphinx (==7.2.6)", "sphinx-issues (==4.0.0)", "sphinx-version-warning (==1.1.2)"] tests = ["pytest", "pytz", "simplejson"] [[package]] @@ -1565,4 +1564,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = ">=3.11.6,<4.0" -content-hash = "aa75c5b988e5e3547e6cf6dc6454c8a3409cbc4d1274ac3b2a4c79d0b9594ff3" +content-hash = "178c6df0d8c22642194ce528d235c424387e4c7ad778bc7cb2180d05e32fb97d" diff --git a/pyproject.toml b/pyproject.toml index 126bb7c..31dccff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ psycopg2 = "^2.9.9" ipython = "^8.22.1" drf-yasg = "^1.21.7" djangorestframework-gis = "^1.0" +ruff = "^0.2.2" [tool.poetry.group.dev.dependencies] # https://python-poetry.org/docs/master/managing-dependencies/ coverage = { extras = ["toml"], version = ">=7.4.1" }