-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add `taplo` pre-commit hook to format and sort `toml` files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ba4289c
commit 48e2929
Showing
2 changed files
with
37 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
[build-system] | ||
requires = ["flit_core >=3.2,<4"] | ||
build-backend = "flit_core.buildapi" | ||
requires = ["flit_core >=3.2,<4"] | ||
|
||
[project] | ||
authors = [{ name = "The PyVista developers", email = "[email protected]" }] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Pytest", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.9", | ||
"Topic :: Software Development :: Testing", | ||
] | ||
dependencies = ["pytest>=3.5.0"] | ||
dynamic = ["description", "version"] | ||
license = { file = "LICENSE" } | ||
name = "pytest_pyvista" | ||
authors = [{name = "The PyVista developers", email = "[email protected]"}] | ||
python_requires = ">=3.9" | ||
readme = "README.rst" | ||
license = {file = "LICENSE"} | ||
dynamic = ["version", "description"] | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Pytest", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Testing", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Operating System :: OS Independent", | ||
"License :: OSI Approved :: MIT License", | ||
] | ||
dependencies=["pytest>=3.5.0"] | ||
python_requires=">=3.9" | ||
|
||
[project.urls] | ||
Home = "https://github.com/pyvista/pytest-pyvista" | ||
|
||
|
||
[project.optional-dependencies] | ||
tests = [ | ||
"codecov<2.2.0", | ||
"coverage==7.5.3", | ||
"pytest>=3.5.0", | ||
"pytest-cov==6.0.0", | ||
"numpy<2.3", | ||
] | ||
docs = [ | ||
"pydata-sphinx-theme==0.16.1", | ||
"sphinx==8.1.3", | ||
"sphinx_copybutton==0.5.2", | ||
"sphinx-notfound-page==1.0.4", | ||
"pydata-sphinx-theme==0.16.1", | ||
"sphinx-notfound-page==1.0.4", | ||
"sphinx==8.1.3", | ||
"sphinx_copybutton==0.5.2", | ||
] | ||
tests = [ | ||
"codecov<2.2.0", | ||
"coverage==7.5.3", | ||
"numpy<2.3", | ||
"pytest-cov==6.0.0", | ||
"pytest>=3.5.0", | ||
] | ||
|
||
[project.entry-points."pytest11"] | ||
|
@@ -55,21 +55,16 @@ line-length = 150 | |
docstring-code-format = true | ||
|
||
[tool.ruff.lint] | ||
ignore = ["COM812", "D203", "D212", "ISC001"] | ||
select = ["ALL"] | ||
ignore = [ | ||
"COM812", | ||
"D203", | ||
"D212", | ||
"ISC001" | ||
] | ||
|
||
[tool.ruff.lint.isort] | ||
# Sort by name, don't cluster "from" vs "import" | ||
force-sort-within-sections = true | ||
# Combines "as" imports on the same line | ||
combine-as-imports = true | ||
required-imports = ["from __future__ import annotations"] | ||
force-single-line = true | ||
required-imports = ["from __future__ import annotations"] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
"doc/**" = ["INP001"] | ||
|