Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/awalsh128/cache-ap…
Browse files Browse the repository at this point in the history
…t-pkgs-action-1.4.2
  • Loading branch information
tkoyama010 authored Jan 4, 2025
2 parents 6f8308a + 48e2929 commit f1e72ff
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 35 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,10 @@ repos:
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]

- repo: https://github.com/ComPWA/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo-format
# See options: https://taplo.tamasfe.dev/configuration/formatter-options.html
args: [--option, "reorder_arrays=true", --option, "reorder_keys=true"]
65 changes: 30 additions & 35 deletions pyproject.toml
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 = "info@pyvista.org" }]
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 = "info@pyvista.org"}]
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"]
Expand All @@ -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"]
Expand Down

0 comments on commit f1e72ff

Please sign in to comment.