From d981c364685a7a6f4fb2cc4d94d713730dc44cb9 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Sat, 9 Sep 2023 23:49:30 +0300 Subject: [PATCH] Update `pyproject.toml` --- README.md | 11 +++++++---- pyproject.toml | 16 +++++++++++++++- requirements.txt | 18 +++++++++--------- requirements_dev.txt | 4 ++-- 4 files changed, 33 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 002033d..0445666 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,20 @@ # FOSSDB - -![Django Test](https://github.com/kristoferssolo/FOSSDB/actions/workflows/test.yml/badge.svg) -![Ruff](https://github.com/kristoferssolo/FOSSDB/actions/workflows/ruff.yml/badge.svg) - +# +![](https://github.com/kristoferssolo/FOSSDB/actions/workflows/test.yml/badge.svg) ![](https://github.com/kristoferssolo/FOSSDB/actions/workflows/ruff.yml/badge.svg) FOSSDB is an open-source web application that helps users find, contribute, and collaborate on free and open-source software (FOSS) projects. ## Table of Contents + + + - [Installation](#installation) - [Usage](#usage) - [Contributing](#contributing) - [License](#license) + + ## Installation 1. Clone the repository and `cd` into it. 2. Install dependencies: diff --git a/pyproject.toml b/pyproject.toml index f7a8176..6a73c9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,18 @@ +[project] +name = "FOSSDB" +version = "0.1.0" +description = "FOSSDB is an open-source web application that helps users find, contribute, and collaborate on free and open-source software (FOSS) projects." +authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }] +readme = "README.md" +requires-python = ">=3.10" +license = { text = "GPLv3" } +classifiers = [ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3:10", + "Programming Language :: Python :: 3:11", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", +] + [tool.mypy] check_untyped_defs = true disallow_any_generics = true @@ -16,7 +31,6 @@ warn_unused_configs = true line-length = 160 exclude = ["**/**/migrations"] - [tool.black] line-length = 160 diff --git a/requirements.txt b/requirements.txt index 9f5b5db..f043008 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -Django==4.2.* -Pillow==9.5.* -fontawesomefree==6.4.* -mysqlclient==2.1.* -django-tailwind==3.6.* -django-search-views==0.3.* -gunicorn==20.1.* -django-jet-reboot==1.3.* -google-api-python-client==1.4.* +Django==4.2 +Pillow==9.5 +fontawesomefree==6.4 +mysqlclient==2.1 +django-tailwind==3.6 +django-search-views==0.3 +gunicorn==20.1 +django-jet-reboot==1.3 +google-api-python-client==1.4 diff --git a/requirements_dev.txt b/requirements_dev.txt index 64c40bd..a8c96ba 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,2 +1,2 @@ -mypy==1.3.0 -ruff==0.0.272 +mypy==1.3 +ruff