Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 3 additions & 33 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "obspec"
version = "0.1.0-beta.5"
version = "0.1.0-beta.6"
description = "Object storage interface definitions for Python."
license = "MIT"
readme = "README.md"
Expand All @@ -21,7 +21,7 @@ homepage = "https://developmentseed.org/obspec/latest/"
documentation = "https://developmentseed.org/obspec/latest/"
repository = "https://github.com/developmentseed/obspec"
issues = "https://github.com/developmentseed/obspec/issues"
changelog = "https://github.com/developmentseed/obspec/blob/main/obspec/CHANGELOG.md"
changelog = "https://github.com/developmentseed/obspec/blob/main/CHANGELOG.md"

[build-system]
requires = ["hatchling"]
Expand All @@ -35,8 +35,7 @@ dev-dependencies = [
"mkdocs-material[imaging]>=9.6.14",
"mkdocs>=1.6.1",
"mkdocstrings>=0.29.1",
"mkdocstrings-python>=1.16.10",
"pip>=24.2",
"mkdocstrings-python>=1.16.11",
"pytest>=8.3.3",
"ruff>=0.11.10",
"pytest-mypy-plugins>=3.2.0",
Expand All @@ -46,41 +45,12 @@ dev-dependencies = [
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D104", # Missing docstring in public package
"EM101",
"FIX002", # Line contains TODO, consider resolving the issue
"PYI021", # docstring-in-stub
"PYI051", # redundant-literal-union
"PYI011", # typed-argument-default-in-stub
"TD", # Todo comments
"TRY003", # Avoid specifying long messages outside the exception class
]

[tool.ruff.lint.per-file-ignores]
"*.pyi" = [
"ANN204", # Missing return type annotation for special method
"E501", # Line too long
]
"tests/*" = [
"S101", # assert
"ANN201", # Missing return type annotation for public function
"ANN202", # Missing return type annotation for private function `it`
"D100", # Missing docstring in public module
"D103", # Missing docstring in public function
"PLR2004", # Magic value used in comparison, consider replacing `100` with a constant variable
"S301", # `pickle` and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue
"SLF001", # Private member accessed
]

[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.extend-per-file-ignores]
"__init__.py" = [
"F401", # Allow unused imports in __init__.py files
"F403", # unable to detect undefined names
]

[tool.pytest.ini_options]
addopts = "-v"
testpaths = ["tests"]
3 changes: 2 additions & 1 deletion src/obspec/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# TODO: think through what should be exported at the top level
"""Object storage protocol definitions for Python."""

from ._attributes import Attribute, Attributes
from ._copy import Copy, CopyAsync
from ._delete import Delete, DeleteAsync
Expand Down
Loading
Loading