Skip to content

Commit

Permalink
Merge pull request #775 from AFM-SPM/ns-rse/774-numpy2-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-rse authored Jan 10, 2024
2 parents b534c80 + af3bc54 commit dd5c9b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ output/config.yaml
*.csv
*.spm

# Notebook checkpoints
notebooks/.ipynb_checkpoints/

# Example Data
!minicircle.spm

Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ tests = [
"pytest-github-actions-annotate-failures",
"pytest-lazy-fixture",
"pytest-mpl",
"pytest-regtest",
"pytest-regtest<2.0.0",
"filetype",
]
docs = [
Expand Down Expand Up @@ -237,6 +237,10 @@ lint.fixable = [
]
lint.unfixable = []

# Numpy2 deprecation checks
lint.extend-select = ["NPY201"]
preview = true

[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"

Expand Down

0 comments on commit dd5c9b7

Please sign in to comment.