Skip to content

Commit

Permalink
🎨 Exclude unmaintained endstations from mypy ruff check.
Browse files Browse the repository at this point in the history
  • Loading branch information
arafune committed Feb 16, 2024
1 parent 821592b commit 72189aa
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ As the original author does not seem to maintain this package, every bug must be
- Check type of the argument set at lf.Mmodel: Is it really lf.Model? lf.ModelResult is better?

- rye for packaging
- tidiy up yaml files
- tidy up yaml files
1 change: 0 additions & 1 deletion legacy_files/laue/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import numpy as np
import xarray as xr

from arpes.provenance import provenance_from_file

northstar_62_69_dtype = np.dtype(
Expand Down
30 changes: 30 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,40 @@ convention = "google"
"src/arpes/experiment/__init__.py" = ["ALL"]
"src/arpes/workflow.py" = ["T201", "T203"]
"src/arpes/fits/lmfit_html_repr.py" = ["SLF001"] # private member accecced
"Elettra_spectromicroscopy.py" = ["ALL"]
"ALG_spin_ToF.py" = ["ALL"]
"ALG_main.py" = ["ALL"]
"ANTARES.py" = ["ALL"]
"MAESTRO.py" = ["ALL"]
"HERS.py" = ["ALL"]
"BL10_SARPES.py" = ["ALL"]
"SSRF_NSRL.py" = ["ALL"]
"MBS.py" = ["ALL"]
"kaindl.py" = ["ALL"]
"merlin.py" = ["ALL"]
"nexus_utils.py" = ["ALL"]
"fits_utils.py" = ["ALL"]


[tool.mypy]
ignore_missing_imports = true

exclude = [
"ALG_spin_ToF\\.py",
"fits_utils\\.py",
"Elettra_spectromicroscopy\\.py",
"ALG_main\\.py",
"ANTARES\\.py",
"MAESTRO\\.py",
"HERS\\.py",
"BL10_SARPES\\.py",
"SSRF_NSRL\\.py",
"MBS\\.py",
"kaindl\\.py",
"merlin\\.py",
]


[tool.black]
line-length = 100

Expand Down

0 comments on commit 72189aa

Please sign in to comment.