-
Notifications
You must be signed in to change notification settings - Fork 2
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
Enable whole testsuite #1
Merged
Merged
Changes from 39 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
eb34fb5
don't skip tests in GitHub Actions
mcocdawc d53f312
skip test_octane_BE2
mcocdawc d5326e9
move packages into src/ directory
mcocdawc eb55a5f
install DMRG scf as part of test-suite
mcocdawc 188cb2d
wrong directory in github actions
mcocdawc 207c687
raise DMRG failing as error
mcocdawc f41e93e
pure syntactical refactoring according to PEP8
mcocdawc be703fc
Did automatic save fixes by `ruff`
mcocdawc 54fdd29
reenable all tests
mcocdawc fbd4094
fix small naming error in dmrg example
mcocdawc 3cee539
added .ruff.toml
mcocdawc c238ac9
reformat imports as well
mcocdawc ccd496d
fixed kbe_polyacetylene.py and turned into test
mcocdawc 166fe87
give better error when using density matching and BE1
mcocdawc 95f778c
fixed molbe_h8_density_matching.py example
mcocdawc 8be49a9
turned the molbe_h8 examples into test
mcocdawc 9a90834
copied data to test directory
mcocdawc 52d9086
added reference octane FCIDUMPs
mcocdawc f244808
added test for fcidump writing
mcocdawc f4430b2
added FCIDUMP test (which fails!!! :-(( )
mcocdawc f12da87
added test for fcidump writing
mcocdawc 14b4b92
added test for molbe rdms
mcocdawc a07907d
added another (currently failing) test from examples
mcocdawc a1e98f5
turned QM/MM example into test
mcocdawc 1f65e11
added failing test
mcocdawc 715a20b
properly renamed
mcocdawc b8d08f9
added explicit failing tests
mcocdawc 74e0bb4
fixed fcidump writer test
mcocdawc 19a21bb
avoid the custom libdmet
mcocdawc 0dd2a31
Merge branch 'main' of github.com:troyvvgroup/quemb into enable_whole…
mcocdawc 2e05286
mark DMRG as currently known to fail
mcocdawc 5e15186
use distorted C1 octane for test
mcocdawc b0a1071
play around with molbe_io_fcidump test
mcocdawc a9b61d5
fixed abs call
mcocdawc 17217aa
test if the deviation is consistent
mcocdawc 302af67
mark molbe_io_fcidump_test.py as known to fail
mcocdawc b4219bc
skip known to fail tests
mcocdawc 348e89b
make doc fails when hitting warnings
mcocdawc 5792835
make sure that quemb is installed for the docs
mcocdawc 1f9f657
apply `ruff format`
mcocdawc 8316165
Merge branch 'format_PEP8' into enable_whole_testsuite
mcocdawc 6a4a107
enable ruff testing
mcocdawc 93fafb4
don't execute pytest if static analysis fails
mcocdawc f6227dd
for the moment always report success for ruff
mcocdawc c4e2875
Merge branch 'main' into enable_whole_testsuite
mcocdawc 3b5e7b8
fixed typo
mcocdawc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[lint] | ||
# see the rules [here](https://docs.astral.sh/ruff/rules/) | ||
select = ["E", "F", "I", "NPY", "ARG"] | ||
# select = ["E501"] | ||
ignore = [ | ||
"S101", | ||
# https://docs.astral.sh/ruff/rules/assert/ | ||
# We want to use assert especially because it is disabled for | ||
# optimized builds. | ||
"E741", | ||
# https://docs.astral.sh/ruff/rules/ambiguous-variable-name/ | ||
# Prevents the use of the characters 'l', 'O', or 'I' as variable names. | ||
# Overly restrictive, in particular when implementing mathematical expressions. | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
# the additional (!) requirements for building the doc | ||
sphinx_rtd_theme | ||
numpy | ||
scipy | ||
h5py | ||
pyscf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iirc, readthedocs.io (at least the way it is configured now) pulls only from this file. since the website isn't pulling from this repo for now, it should be fine, but we should keep this in mind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, then I would still rather use the
setup.py
as reference and not redundantly define dependencies. (if possible)