Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor codebase into a python package #32

Merged
merged 46 commits into from
Aug 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
0afdfee
wip on simplifying pre-commit setup
leifdenby May 13, 2024
28118a6
setup pylint version
leifdenby May 13, 2024
3da3108
remove external deps install in cicd linting
leifdenby May 13, 2024
ea64309
create project
leifdenby May 13, 2024
0c68537
replace absolute imports with relative
leifdenby May 13, 2024
4b77be6
simplify black config
leifdenby May 13, 2024
f2bae03
headers for import sections no longer needed
leifdenby May 13, 2024
1d12b0d
minor fixes
leifdenby May 13, 2024
ad0accc
run on all branch pushes
leifdenby May 13, 2024
3e69502
rename action to "lint"
leifdenby May 13, 2024
681c7b1
add ci/cd test for imports
leifdenby May 13, 2024
5ad0230
py version must be quoted
leifdenby May 13, 2024
35987e5
fix torch install url
leifdenby May 13, 2024
148d7f6
use pdm in ci/cd
leifdenby May 13, 2024
b912d1a
disable cache for now
leifdenby May 13, 2024
b656445
check in lock file
leifdenby May 13, 2024
248196f
add pytest
leifdenby May 13, 2024
1af1576
cache in cicd
leifdenby May 13, 2024
7ed7c97
add torch-geometric to deps
leifdenby May 13, 2024
2869952
fix import and more tests
leifdenby May 13, 2024
9aaaecd
Merge branch 'maint/simplify-precommit-setup' into maint/refactor-as-…
leifdenby May 13, 2024
358c8d6
pdm to sync to requirements.txt
leifdenby May 13, 2024
6c3bdce
update requirements.txt
leifdenby May 13, 2024
fbd6a2b
more import tests
leifdenby May 13, 2024
e89facc
Merge branch 'main' into maint/refactor-as-package
leifdenby Jul 16, 2024
0b5687a
Merge branch 'main' of https://github.com/mllam/neural-lam into maint…
leifdenby Jul 16, 2024
095fdbc
turn meps testdata download into pytest fixture
leifdenby Jul 16, 2024
49e9bfe
adapt README for package
leifdenby Jul 16, 2024
12cc02b
remove pdm cicd test (will be in separate PR)
leifdenby Jul 16, 2024
b47f50b
remove pdm in gitignore
leifdenby Jul 16, 2024
90d99ca
remove pdm and pyproject files (will be sep PR)
leifdenby Jul 16, 2024
a91eaaa
add pyproject.toml from main
leifdenby Jul 16, 2024
5508cea
clean out tests
leifdenby Jul 16, 2024
5c623c3
fix linting
leifdenby Jul 16, 2024
08ec168
add cli entrypoints import test
leifdenby Jul 16, 2024
3954f04
tweak cicd pytest execution
leifdenby Jul 16, 2024
db9d96f
Update tests/test_mllam_dataset.py
leifdenby Jul 17, 2024
2a6796c
Add init files to expose classes in editable package
joeloskarsson Jul 24, 2024
8f4e0e0
Linting
joeloskarsson Jul 24, 2024
e7cf2c0
Merge pull request #1 from mllam/package_inits
leifdenby Aug 14, 2024
0b72e9d
add pyproject-flake8 to precommit config
Aug 14, 2024
190d1de
use Flake8-pyproject instead
Aug 14, 2024
791af0a
update README
Aug 14, 2024
47c1f44
update changelog
leifdenby Aug 19, 2024
9f25375
Merge branch 'maint/refactor-as-package' of https://github.com/leifde…
leifdenby Aug 19, 2024
b1ecb2c
Merge branch 'main' of https://github.com/mllam/neural-lam into maint…
leifdenby Aug 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_mllam_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
)


@pytest.fixture
@pytest.fixture(scope="module")
def meps_example_reduced_filepath():
# Download and unzip test data into data/meps_example_reduced
pooch.retrieve(
Expand Down
Loading