Skip to content

Commit

Permalink
update lint settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Feb 23, 2024
1 parent 83fc395 commit a252781
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ h5py==3.10.0
# orix
# pyfai
# pynxtools
# pynxtools-xps (pyproject.toml)
# pyxem
# silx
hdf5plugin==4.3.0
Expand Down Expand Up @@ -410,8 +411,6 @@ pytz-deprecation-shim==0.1.0.post0
# via tzlocal
pywavelets==1.4.1
# via scikit-image
pywin32==306
# via jupyter-core
pyxem==0.16.0
# via pynxtools
pyyaml==6.0.1
Expand Down Expand Up @@ -572,7 +571,9 @@ wcwidth==0.2.12
wheel==0.42.0
# via pip-tools
xarray==2023.1.0
# via pynxtools
# via
# pynxtools
# pynxtools-xps (pyproject.toml)
zarr==2.16.1
# via hyperspy
zipfile37==0.1.3
Expand Down
10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"h5py>=3.6.0",
"xarray>=0.20.2",
"pynxtools>=0.0.10"
]

Expand All @@ -37,14 +39,14 @@ dev = [
"mypy",
"ruff",
"pytest",
"pytest-timeout",
"pytest-cov",
"pytest-timeout",
"structlog",
"types-pyyaml",
"types-pytz",
"types-requests",
"pip-tools",
"pre-commit",
"pre-commit"
]

[tool.setuptools.package-data]
Expand All @@ -55,13 +57,13 @@ version_scheme = "no-guess-dev"
local_scheme = "node-and-date"

[tool.ruff]
include = ["pynxtools_xps*.py", "tests/*.py"]
include = ["pynxtools_xps/*.py", "tests/*.py"]
select = [
"E", # pycodestyle
"W", # pycodestyle
"PL", # pylint
]
ignore = [
lint.ignore = [
"E501", # Line too long ({width} > {limit} characters)
"E701", # Multiple statements on one line (colon)
"E731", # Do not assign a lambda expression, use a def
Expand Down

0 comments on commit a252781

Please sign in to comment.