diff --git a/.bumpversion.cfg b/.bumpversion.cfg deleted file mode 100644 index 147a569..0000000 --- a/.bumpversion.cfg +++ /dev/null @@ -1,26 +0,0 @@ -[bumpversion] -current_version = 0.9.0 -commit = False -tag = True -verbose = True - -[bumpversion:file:pointcloudset/__init__.py] - -[bumpversion:file:.devcontainer/dev.Dockerfile] -search = tgoelles/pointcloudset_base:v{current_version} -replace = tgoelles/pointcloudset_base:v{new_version} - -[bumpversion:file:docker/release.Dockerfile] -search = tgoelles/pointcloudset_base:v{current_version} -replace = tgoelles/pointcloudset_base:v{new_version} - -[bumpversion:file:conda/meta.yaml] -search = "{current_version}" -replace = "{new_version}" - -[bumpversion:file:CHANGELOG.rst] -search = Unreleased -replace = Unreleased - ------------- - - {new_version} - ({now:%Y-%m-%d}) diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 1790770..0000000 --- a/.coveragerc +++ /dev/null @@ -1,11 +0,0 @@ -# .coveragerc to control coverage.py - -[run] -omit = - *test* -relative_files = True - -[report] -exclude_lines = - pragma: no cover - if TYPE_CHECKING: \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index a56dbba..cbce240 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,11 @@ classifiers = [ "Typing :: Typed", ] +[project.urls] +"Bug Tracker" = "https://github.com/virtual-vehicle/pointcloudset/issues" +"Source" = "https://github.com/virtual-vehicle/pointcloudset" +"Documentation" = "https://virtual-vehicle.github.io/pointcloudset/" + dependencies = [ "numpy<2", "pandas", @@ -43,13 +48,6 @@ dependencies = [ "rosbags", ] - -[project.urls] -"Bug Tracker" = "https://github.com/virtual-vehicle/pointcloudset/issues" -"Source" = "https://github.com/virtual-vehicle/pointcloudset" -"Documentation" = "https://virtual-vehicle.github.io/pointcloudset/" - - [project.optional-dependencies] LAS = ["pylas"] @@ -60,10 +58,12 @@ pointcloudset = "pointcloudset.io.dataset.commandline:app" addopts = "-p no:warnings --verbose --color=yes" [tool.ruff] - +# The default line length for Black is 88, but we set it to 120. line-length = 120 + # Allow unused variables when underscore-prefixed. dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" + # Assume Python 3.11. target-version = "py311" @@ -72,3 +72,10 @@ isort = { known-first-party = ["pointcloudset", "tests"] } [tool.ruff.per-file-ignores] "__init__.py" = ["F401"] "pointcloudset/io/dataset/commandline.py" = ["F401"] + +[tool.coverage.run] +omit = ["*test*"] +relative_files = true + +[tool.coverage.report] +exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"] diff --git a/ruff.toml b/ruff.toml deleted file mode 100644 index 5d8b556..0000000 --- a/ruff.toml +++ /dev/null @@ -1,14 +0,0 @@ -# black ist 88 -line-length = 120 - -# Allow unused variables when underscore-prefixed. -dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" - -# Assume Python 3.10. -target-version = "py310" - -isort = { known-first-party = ['pointcloudset', 'tests'] } - -[per-file-ignores] -"__init__.py" = ["F401"] -"pointcloudset/io/dataset/commandline.py" = ["F401"]