From ef7d04c694ffc1624dfdec02849511d20be48fc1 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Tue, 2 Jan 2024 13:23:45 +0100 Subject: [PATCH 1/3] build: :wrench: Mostly updates to pyproject to configure Poetry more. Closes #13 --- pyproject.toml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a47de3e7..3fac3499 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,22 @@ [tool.poetry] name = "seedcase-sprout" version = "0.0.1" -description = "Data input." -authors = ["Luke W. Johnston "] +description = "Grow your research data in a structured, modern way that follows best practices." +authors = [ + "Luke W. Johnston ", + "" + ] readme = "README.md" +homepage = "https://sprout.seedcase-project.org" +repository = "https://github.com/seedcase-project/seedcase-sprout" + +[tool.poetry.urls] +"Bug Tracker" = "https://github.com/seedcase-project/seedcase-sprout/issues" [tool.poetry.dependencies] python = "^3.10" django = "4.2.8" - +ruff = "^0.1.9" [build-system] requires = ["poetry-core"] From a9c1ddeaf84e58c149bf4affff3da0deb2c84eca Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Tue, 2 Jan 2024 13:24:27 +0100 Subject: [PATCH 2/3] build: :wrench: Add Ruff to poetry lock file --- poetry.lock | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index f50cd281..ec28386e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -37,6 +37,32 @@ tzdata = {version = "*", markers = "sys_platform == \"win32\""} argon2 = ["argon2-cffi (>=19.1.0)"] bcrypt = ["bcrypt"] +[[package]] +name = "ruff" +version = "0.1.9" +description = "An extremely fast Python linter and code formatter, written in Rust." +optional = false +python-versions = ">=3.7" +files = [ + {file = "ruff-0.1.9-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:e6a212f436122ac73df851f0cf006e0c6612fe6f9c864ed17ebefce0eff6a5fd"}, + {file = "ruff-0.1.9-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:28d920e319783d5303333630dae46ecc80b7ba294aeffedf946a02ac0b7cc3db"}, + {file = "ruff-0.1.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:104aa9b5e12cb755d9dce698ab1b97726b83012487af415a4512fedd38b1459e"}, + {file = "ruff-0.1.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:1e63bf5a4a91971082a4768a0aba9383c12392d0d6f1e2be2248c1f9054a20da"}, + {file = "ruff-0.1.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4d0738917c203246f3e275b37006faa3aa96c828b284ebfe3e99a8cb413c8c4b"}, + {file = "ruff-0.1.9-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:69dac82d63a50df2ab0906d97a01549f814b16bc806deeac4f064ff95c47ddf5"}, + {file = "ruff-0.1.9-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2aec598fb65084e41a9c5d4b95726173768a62055aafb07b4eff976bac72a592"}, + {file = "ruff-0.1.9-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:744dfe4b35470fa3820d5fe45758aace6269c578f7ddc43d447868cfe5078bcb"}, + {file = "ruff-0.1.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:479ca4250cab30f9218b2e563adc362bd6ae6343df7c7b5a7865300a5156d5a6"}, + {file = "ruff-0.1.9-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:aa8344310f1ae79af9ccd6e4b32749e93cddc078f9b5ccd0e45bd76a6d2e8bb6"}, + {file = "ruff-0.1.9-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:837c739729394df98f342319f5136f33c65286b28b6b70a87c28f59354ec939b"}, + {file = "ruff-0.1.9-py3-none-musllinux_1_2_i686.whl", hash = "sha256:e6837202c2859b9f22e43cb01992373c2dbfeae5c0c91ad691a4a2e725392464"}, + {file = "ruff-0.1.9-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:331aae2cd4a0554667ac683243b151c74bd60e78fb08c3c2a4ac05ee1e606a39"}, + {file = "ruff-0.1.9-py3-none-win32.whl", hash = "sha256:8151425a60878e66f23ad47da39265fc2fad42aed06fb0a01130e967a7a064f4"}, + {file = "ruff-0.1.9-py3-none-win_amd64.whl", hash = "sha256:c497d769164df522fdaf54c6eba93f397342fe4ca2123a2e014a5b8fc7df81c7"}, + {file = "ruff-0.1.9-py3-none-win_arm64.whl", hash = "sha256:0e17f53bcbb4fff8292dfd84cf72d767b5e146f009cccd40c2fad27641f8a7a9"}, + {file = "ruff-0.1.9.tar.gz", hash = "sha256:b041dee2734719ddbb4518f762c982f2e912e7f28b8ee4fe1dee0b15d1b6e800"}, +] + [[package]] name = "sqlparse" version = "0.4.4" @@ -78,4 +104,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "74cdc242fccdd9614237676adf027dcfef2d1507825e742d1252bee126b0353c" +content-hash = "ffb846d434d42e670e3507bd9eace1c702a1bf4384ba7d1a38c6faa5762e9665" From 5997b553a668a6f3f41450f81d2e7ba385634df5 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Tue, 2 Jan 2024 13:30:36 +0100 Subject: [PATCH 3/3] docs: :busts_in_silhouette: Add authors and maintainers to pyproject --- pyproject.toml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3fac3499..b37ba5cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,8 +4,16 @@ version = "0.0.1" description = "Grow your research data in a structured, modern way that follows best practices." authors = [ "Luke W. Johnston ", - "" - ] + "Henrik Goul ", + "Kristiane Beicher ", + "Philip Christiansen ", + "Signe Kirk Brødbæk ", +] +maintainers = [ + "Luke W. Johnston ", + "Kristiane Beicher ", + "Signe Kirk Brødbæk ", +] readme = "README.md" homepage = "https://sprout.seedcase-project.org" repository = "https://github.com/seedcase-project/seedcase-sprout"