Skip to content

Commit

Permalink
[test] ignore deprecation warnings of 'jax.core.pp*' for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Aug 6, 2024
1 parent b58e088 commit b421ef6
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ version.path = "src/evermore/__init__.py"
envs.default.dependencies = ["pytest", "pytest-cov"]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = ["error"]
filterwarnings = [
"error",
"ignore::DeprecationWarning", # <- remove once equinox publishes a new release (see: https://github.com/patrick-kidger/equinox/commit/5a5bf287f73032201c34ff2c73e73573f8232739)
]
log_cli_level = "INFO"
testpaths = ["tests"]

Expand All @@ -85,6 +85,14 @@ ignore_missing_imports = true


[tool.ruff.lint]
extend-ignore = [
"PLR", # Design related pylint codes
"E501", # Line too long
# "B006", # converts default args to 'None'
"I002", # isort: "from __future__ import annotations"
"ISC001", # flake8-implicit-str-concat: Implicit string concatenation"
]
minversion = "6.0"
select = [
"E",
"F",
Expand All @@ -108,13 +116,8 @@ select = [
"YTT", # flake8-2020
"EXE", # flake8-executable
]
extend-ignore = [
"PLR", # Design related pylint codes
"E501", # Line too long
# "B006", # converts default args to 'None'
"I002", # isort: "from __future__ import annotations"
"ISC001", # flake8-implicit-str-concat: Implicit string concatenation"
]
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
unfixable = [
"F841", # Would remove unused variables
]
Expand Down

0 comments on commit b421ef6

Please sign in to comment.