Skip to content

Commit

Permalink
update pyproject.toml and ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
kiraware committed Jan 20, 2024
1 parent 6913bd4 commit ba8f0d0
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 26 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,44 @@ 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"
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"
Expand Down

0 comments on commit ba8f0d0

Please sign in to comment.