diff --git a/python/cucim/pyproject_.toml b/python/cucim/pyproject_.toml deleted file mode 100644 index c5351f058..000000000 --- a/python/cucim/pyproject_.toml +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. -# See file LICENSE for terms. - -[tool.isort] -profile = "black" -force_single_line = false -line_length = 80 -forced_separate = "test_cucim" -force_grid_wrap = 0 -multi_line_output = 3 -order_by_type = true -combine_as_imports = true -include_trailing_comma = true -known_first_party = [ - "cucim", -] -default_section = "THIRDPARTY" -sections = [ - "FUTURE", - "STDLIB", - "THIRDPARTY", - "FIRSTPARTY", - "LOCALFOLDER", -] -skip = [ - "3rdparty", - "thirdparty", - ".eggs", - ".git", - ".hg", - ".mypy_cache", - ".tox", - ".venv", - "ci", - "cpp", - "_build", - "build", - "build-debug", - "build-release", - "_deps", - "dist", -] - -[tool.pytest.ini_options] -# If a pytest section is found in one of the possible config files -# (pytest.ini, tox.ini or setup.cfg), then pytest will not look for any others, -# so if you add a pytest config section elsewhere, -# you will need to delete this section from setup.cfg. -norecursedirs = "migrations" -python_files = [ - "test_*.py", - "*_test.py", - "tests.py", -] -addopts = [ - "-ra", - "--strict-markers", - # --doctest-modules", - # --doctest-glob=\*.rst", - "--tb=short", - "--ignore-glob=build*", -] -testpaths = [ - "src", - "tests", -] - -[tool.ruff] -select = ["E", "F", "W"] -fixable = ["ALL"] -exclude = [ - # TODO: Remove this in a follow-up where we fix __all__. - ".tox", - ".eggs", - "ci/templates", - "build", - "dist", - ".git", - "__pycache__", - "doc/conf.py", - "doc/sphinxext", - "__init__.py", -] -line-length = 80 - -[tool.ruff.per-file-ignores] -# "src/cucim/skimage/util/tests/test_shape.py" = ["E201", "E202"] - -[tool.black] -line-length = 80 -target-version = ["py39"] -include = '\.py?$' -exclude = ''' -/( - 3rdparty | - thirdparty | - \.eggs | - \.git | - \.hg | - \.mypy_cache | - \.tox | - \.venv | - _build | - _deps | - cpp | - ci | - build | - build-debug | - build-release | - dist | - docker | - docs | -)/ -''' - -[tool.setuptools] -license-files = ["LICENSE"] - -[tool.codespell] -# note: pre-commit passes explicit lists of files here, which this skip file list doesn't override - -# this is only to allow you to run codespell interactively -# e.g. via -# codespell --toml python/cucim/pyproject.toml . -i 3 -w -skip = "build*,dist,.cache,html,_build,_deps,3rdparty,_static,generated,latex,.git,*.ipynb,test_data/input/LICENSE-3rdparty,jitify_testing" -# ignore-regex = "" -ignore-words-list = "ans,coo,boun,bui,gool,hart,lond,nd,paeth,unser,wronly" -quiet-level = 3 - -# to undo: ./test_data/input/LICENSE-3rdparty