Skip to content

Commit

Permalink
switch to src layout
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Oct 11, 2024
1 parent f99e84b commit 9184e73
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
uv pip install -r dev-requirements.txt
- name: ruff check
run: |
ruff check pynxtools_mpes tests
ruff check src/pynxtools_mpes tests
- name: ruff format
run: |
ruff format --check pynxtools_mpes tests
ruff format --check src/pynxtools_mpes tests
- name: mypy
run: |
mypy pynxtools_mpes tests
mypy src/pynxtools_mpes tests
2 changes: 1 addition & 1 deletion docs/reference/mpes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The reader supports [HDF5](https://www.hdfgroup.org/solutions/hdf5/) files created using the MPES instruments at the Department of Physical Chemistry of the [Fritz Haber Institute of the Max Planck Society (FHI)](https://pc.fhi-berlin.mpg.de).

The reader for can be found [here](https://github.com/FAIRmat-NFDI/pynxtools-mpes/blob/main/pynxtools_mpes/reader.py).
The reader for can be found [here](https://github.com/FAIRmat-NFDI/pynxtools-mpes/blob/main/src/pynxtools_mpes/reader.py).

Example data for the MPES reader is available [here](https://github.com/FAIRmat-NFDI/pynxtools-mpes/tree/main/tests/data).

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nav:
plugins:
- search
- macros:
module_name: pynxtools_mpes/mkdocs
module_name: src/pynxtools_mpes/mkdocs

theme:
name: material
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ docs = [
[project.entry-points."pynxtools.reader"]
mpes = "pynxtools_mpes.reader:MPESReader"

[tool.setuptools]
packages = ["pynxtools_mpes"]
[tool.setuptools.packages.find]
where = [
"src",
]

[tool.setuptools_scm]

[tool.ruff]
include = ["pynxtools_mpes/*.py", "tests/*.py"]
include = ["src/*.py", "tests/*.py"]
line-length = 88
indent-width = 4

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9184e73

Please sign in to comment.