From ba8f0d040df58902c10c784cc9af1bcdf695903a Mon Sep 17 00:00:00 2001 From: Kira Date: Sat, 20 Jan 2024 15:54:14 +0800 Subject: [PATCH] update pyproject.toml and ruff --- .pre-commit-config.yaml | 2 +- poetry.lock | 2 +- pyproject.toml | 31 ++++++++++++++++++++++++++----- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59d6799..bb7e0fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: # ruff - linting and format - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.1.13" + rev: "v0.1.14" hooks: - id: ruff args: [--fix] diff --git a/poetry.lock b/poetry.lock index cf81680..47a94c7 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1613,4 +1613,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "b884389d79c54bc5bab763291bfa05cbea2af20ff521bd77482d8f89f291f3d5" +content-hash = "c3735b49ffced8b08aa5938294fc655c29d3b02fc3e2518ab6163553640876ef" diff --git a/pyproject.toml b/pyproject.toml index 7d3bf4d..4e10728 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,9 +8,23 @@ packages = [ ] license = "MIT" readme = "README.md" -homepage = "https://github.com/kiraware/PyBMKG#readme" +homepage = "https://github.com/kiraware/PyBMKG" repository = "https://github.com/kiraware/PyBMKG" +documentation = "https://pybmkg.readthedocs.io/en/latest/" keywords = ["bmkg", "api"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Environment :: Web Environment", + "Framework :: AsyncIO", + "Framework :: aiohttp", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Topic :: Scientific/Engineering :: Atmospheric Science", + "Topic :: Software Development", +] + +[tool.poetry.urls] +"Bug Tracker" = "https://github.com/kiraware/PyBMKG/issues" [tool.poetry.dependencies] python = "^3.11" @@ -18,13 +32,20 @@ aiohttp = "^3.9.1" defusedxml = "^0.7.1" [tool.poetry.group.dev.dependencies] -pytest = "^7.4.4" -pytest-cov = "^4.1.0" mypy = "^1.8.0" bandit = "^1.7.6" -ruff = "^0.1.13" -pytest-asyncio = "^0.23.3" +ruff = "^0.1.14" poethepoet = "^0.24.4" + +[tool.poetry.group.test.dependencies] +pytest = "^7.4.4" +pytest-cov = "^4.1.0" +pytest-asyncio = "^0.23.3" + +[tool.poetry.group.docs] +optional = true + +[tool.poetry.group.docs.dependencies] mkdocs = "^1.5.3" mkdocstrings = {extras = ["python"], version = "^0.24.0"} mkdocs-material = "^9.5.4"