Skip to content

Commit

Permalink
Update dependencies (#123)
Browse files Browse the repository at this point in the history
* ⬆️ update pycatch22

* 🙏 disable dev dependency pycatch22 on Windows

* 🙏

* ⬆️ update dependencies
  • Loading branch information
jvdd authored Apr 24, 2024
1 parent 093240f commit 26c37a2
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 86 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ black = black tsflex tests

.PHONY: format
format:
ruff --fix tsflex tests
ruff check --fix tsflex tests
$(black)

.PHONY: lint
lint:
poetry run ruff tsflex tests
poetry run ruff check tsflex tests
poetry run $(black) --check --diff
poetry run mypy tsflex # tests

Expand Down
122 changes: 45 additions & 77 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ pydocstyle = "^5.1.1"
Sphinx = "^3.5.2"
jupyterlab = "^3.2.9"
memory-profiler = "^0.58.0"
pytest = "^6.2.3"
pytest-cov = "^2.12.1"
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
pytest-benchmark = "^4.0.0"
pytest-codspeed = "^2.2"
pdoc3 = "^0.9.2"
Expand Down Expand Up @@ -61,7 +61,7 @@ pyarrow = [
{ version = ">=12", python = ">=3.7,<3.8" },
{ version = ">=15", python = ">=3.8"}
]
# Temporarily lock this version to avoid Windows install error
# Temporarily skip Windows to avoid install error
pycatch22 = { version = ">=0.4", markers = "sys_platform != 'win32'" }
antropy = [
{ version = "^0.1.5", python = "<3.8" },
Expand All @@ -78,18 +78,18 @@ scikit-learn = [
{ version = ">=1.1.3", python = ">=3.11" },
]
# Linting
ruff = "^0.0.264"
ruff = "^0.4.1"
black = "^22.12.0"
mypy = [
{ version = ">=1.4", python = "<3.8" },
{ version = ">=1.5", python = ">=3.8" }
]

[tool.ruff]
select = ["E", "F", "I"]
line-length = 88
ignore = ["E501"] # Never enforce `E501` (line length violations).
[tool.ruff.per-file-ignores]
lint.select = ["E", "F", "I"]
lint.ignore = ["E501"] # Never enforce `E501` (line length violations).
[tool.ruff.lint.per-file-ignores]
"tests/test_features_feature_collection.py" = ["F401", "F811"]
"tests/test_features_func_wrapper.py" = ["F401", "F811"]
"tests/test_features_integration.py" = ["F401", "F811"]
Expand Down

0 comments on commit 26c37a2

Please sign in to comment.