Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3452 commits
Select commit Hold shift + click to select a range
241e38f
fixing the cfour parser
Slimygen Apr 6, 2025
6055c25
fixing cfour parser
Slimygen Apr 6, 2025
cf73ec5
more cfour parser fixes
Slimygen Apr 6, 2025
7a8a141
added scftargets, scfvalues, geotargets, and geovalues to the cfour p…
Slimygen Apr 7, 2025
967761d
Removing a cfour test for now. Will bring it back later
Slimygen Apr 7, 2025
d4a3502
Adding the one cfour test back in
Slimygen Apr 7, 2025
7ee321d
Unskipping more tests for the cfour parser
Slimygen Apr 7, 2025
b0afad6
Fixing geovalues for cfour parser
Slimygen Apr 7, 2025
9105545
Added optdone to the cfour parser
Slimygen Apr 7, 2025
1e2d1e0
Added vibrational attributes to the CFOUR parser
Slimygen Apr 8, 2025
64e083d
Added Gradients to the CFOUR Parser
Slimygen Apr 9, 2025
6e7e8e3
Added MP energies to the CFOUR parser
Slimygen Apr 9, 2025
06b999f
removed an unnecessary file
Slimygen Apr 9, 2025
24a6a60
Adding comments to the cfour parser
Slimygen Apr 16, 2025
b7bdac3
pre-commit fixes
berquist May 3, 2025
4dae477
Fixing the cfour symmetry normalizer
Slimygen May 4, 2025
e932d10
Making reviewer suggested changes
Slimygen May 6, 2025
bacf2be
Making reviewer suggested changes
Slimygen May 6, 2025
cb9126f
Making reviewer suggested changes
Slimygen May 6, 2025
94d812e
Making reviewer suggested changes
Slimygen May 6, 2025
7c227f6
Making reviewer suggested changes
Slimygen May 6, 2025
7ced96d
Making reviewer suggested changes
Slimygen May 7, 2025
f96ab81
Merge pull request #1596 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist May 13, 2025
e0dd466
Update pre-commit hook astral-sh/ruff-pre-commit to v0.11.10
renovate[bot] May 15, 2025
b7b9f3d
Update codecov/codecov-action digest to 18283e0
renovate[bot] May 15, 2025
03294a7
Merge pull request #1599 from cclib/renovate/codecov-codecov-action-d…
berquist May 16, 2025
4cdd175
pre-commit: ruff is now ruff-check
berquist May 17, 2025
a85675f
Merge pull request #1598 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist May 17, 2025
287fa5c
pre-commit: ignore CFOUR data directories
berquist May 17, 2025
d61af08
Revert "added openbabel back to the dependencies"
berquist May 17, 2025
089c6ee
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 17, 2025
8d97faf
Merge pull request #1524 from Slimygen/master
berquist May 17, 2025
a2a9ee2
ORCA: ignore additional files from runs
berquist May 17, 2025
0e2d4d4
ORCA: implement optstatus
berquist May 18, 2025
a68748a
ORCA: implement rotconsts
berquist May 18, 2025
0cdf08b
ORCA: disable rotational constant checking for older regressions
berquist May 21, 2025
9c58f74
Merge pull request #1601 from berquist/orca-rotconsts-and-optstatus
berquist May 22, 2025
1530001
Gaussian: usage of append_attribute
berquist May 18, 2025
f1d5480
QChem: usage of append_attribute
berquist May 22, 2025
ac0bdd8
ORCA: usage of append_attribute
berquist May 18, 2025
0959366
Jaguar: usage of append_attribute
berquist May 22, 2025
3fafc58
Update pre-commit hook astral-sh/ruff-pre-commit to v0.11.11
renovate[bot] May 22, 2025
9bd246e
Merge pull request #1603 from berquist/append-attribute
berquist May 23, 2025
65787e4
Update pre-commit hook asottile/pyupgrade to v3.20.0
renovate[bot] May 23, 2025
578fd16
Merge pull request #1605 from cclib/renovate/asottile-pyupgrade-3.x
berquist May 25, 2025
b6a51dc
Merge pull request #1604 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist May 25, 2025
d7ab2c7
be explicit about which scan data files are (un)relaxed
berquist May 17, 2025
b5be48f
ORCA: update scan calculations to use B3LYP instead of HF
berquist May 17, 2025
ff30257
testScan: remove duplicate test methods from GenericRelaxedScanTest
berquist May 26, 2025
94ea10d
ORCA: implement scanenergies
berquist May 26, 2025
2527cf6
ORCA: fix parsing scanparm
berquist May 25, 2025
0759a78
ORCA: fix setting optstatus
berquist May 26, 2025
9bee932
ORCA: fix setting optdone
berquist May 26, 2025
b547a83
testScan: remove assumption about geovalues for convergence
berquist May 26, 2025
479228d
testScan: remove requirement that input coords are stationary point
berquist May 26, 2025
3f7c88f
ORCA: enable testindices and testoptstatus for scans
berquist May 26, 2025
d7a652b
ORCA: clean up regression tests for missing rotational constants
berquist May 26, 2025
979acbc
testGeoOpt: update testgeotargets docstring
berquist May 26, 2025
19a958a
testScan: update testnumindices docstring
berquist May 26, 2025
dce21ab
move generic scancoords setting to logfileparser
berquist May 26, 2025
efe787f
set_attribute for scancoords in logfileparser
berquist May 26, 2025
7e1cb79
testScan: implement test for scancoords
berquist May 26, 2025
903cf2e
ORCA: regression test for parsing relaxed scan with CASSCF
berquist May 26, 2025
f97166a
Merge pull request #1606 from berquist/orca-scancoords-and-scanenergies
berquist May 26, 2025
2c1e2a4
Jaguar: implement optstatus
berquist May 26, 2025
e40d6b9
Jaguar: implement rest of geometry scan attributes
berquist May 26, 2025
925244d
Jaguar: implement rotconsts
berquist May 26, 2025
3acd115
Jaguar: rotconsts tests
berquist May 26, 2025
d3918a8
Jaguar: scan and optstatus tests
berquist May 26, 2025
e73102a
testTD: update some grammar
berquist May 26, 2025
cc34ab0
Merge pull request #1607 from berquist/jaguar-scan
berquist May 27, 2025
e5720f2
Update cachix/install-nix-action digest to 17fe5fb
renovate[bot] May 27, 2025
e6424f9
Merge pull request #1608 from cclib/renovate/cachix-install-nix-actio…
berquist May 27, 2025
d80d9cd
Update pre-commit hook astral-sh/ruff-pre-commit to v0.11.12
renovate[bot] May 29, 2025
e929408
Merge pull request #1609 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist May 30, 2025
142cd5c
Gaussian: factor out parts of parsing atomcharges and atomspins
berquist Nov 26, 2024
bbd41f8
Gaussian: move atomspins and atomcharges strings to object members
berquist Nov 29, 2024
fd361d8
Gaussian: refactor detection of generic "atomic" charge header
berquist Nov 29, 2024
0445535
Gaussian: add header for Hirshfeld charges in g09
berquist Nov 30, 2024
3b4787c
Gaussian: parse Hirshfeld charges and spins from version 09
berquist Dec 1, 2024
4fb9cbc
Gaussian: parse route
berquist Dec 13, 2024
b92a7ce
Gaussian: parse current link
berquist Dec 13, 2024
210324a
Gaussian: parse charges derived from the electrostatic potential
berquist Dec 13, 2024
a7852ad
Gaussian: fix typo
berquist May 27, 2025
79e4e2a
Gaussian: add regressions for fancy atomcharges
berquist May 27, 2025
8bf924e
regression.py: add missing docstring
berquist May 31, 2025
b7573aa
regression.py: fix typos
berquist May 31, 2025
6357410
Merge pull request #1507 from berquist/1504-gaussian-atomcharges
berquist May 31, 2025
cc893be
ORCA: update termination condition for parsing orbital energies
berquist Jun 5, 2025
74eed33
Merge pull request #1611 from berquist/1177-orca-unrestricted-geoopt-…
berquist Jun 5, 2025
fbab6a7
Add non-ghost placeholder atom symbols directly to periodic table
berquist Jun 6, 2025
951e4b9
Merge pull request #1612 from berquist/1038-orca-dummy-atoms
berquist Jun 6, 2025
9416064
Update pre-commit hook astral-sh/ruff-pre-commit to v0.11.13
renovate[bot] Jun 6, 2025
456e0c6
Merge pull request #1613 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Jun 7, 2025
106d291
PySCF: don't run unit tests unless they change
berquist Jun 7, 2025
02131d5
PySCF: run unit tests when bridge file changes
berquist Jun 7, 2025
5647b4e
Only run with test coverage on Python 3.11
berquist Jun 7, 2025
7c500c6
Merge pull request #1614 from berquist/1602-pyscf-filter-tests
berquist Jun 7, 2025
b4f83a3
Gaussian: append_attribute for polarizabilities
berquist Jun 1, 2025
68377a8
Gaussian: extend_attribute for atommasses
berquist Jun 1, 2025
89fa21e
Gaussian: append_attribute for symlabels
berquist Jun 1, 2025
bdaa327
Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.0
renovate[bot] Jun 17, 2025
16130f3
xTB: enable testSP.testatomnos
berquist Jun 19, 2025
ede9356
testSP: fix typos in testrotconsts
berquist Jun 19, 2025
cf8716b
xTB: enable testSP.testatomcharges
berquist Jun 19, 2025
2312869
xTB: fix type in return from _extract_gfn2_mulliken_charge
berquist Jun 19, 2025
cfca11d
xTB: parse rotconsts
berquist Jun 19, 2025
0632eee
DALTON: implement rotconsts
berquist Jun 19, 2025
ed90f1c
testSP: fix misleading docstring
berquist Jun 19, 2025
03967f7
ccget: fix typo in argument help
berquist Jun 19, 2025
02909c5
utils: move float function to work around type annotation complaints
berquist Jun 19, 2025
33fdd66
GAMESS: implement rotconsts
berquist Jun 19, 2025
cfa95f9
Molcas: implement rotconsts for frequency calculations
berquist Jun 20, 2025
25d4141
QChem: more precise parsing of atommasses in vibrational analysis
berquist Jun 20, 2025
d8e54d5
testvib: test for rotconsts
berquist Jun 20, 2025
89c850c
Update EditorConfig configuration
berquist Jun 20, 2025
9e03fd9
PySCF: silence warnings from pyscf.prop module
berquist Jun 19, 2025
c69746f
PySCF: silence warning about B3LYP definition change
berquist Jun 20, 2025
45a36e2
Merge pull request #1619 from berquist/more-rotconsts-additions
berquist Jun 20, 2025
b6c080d
Update sigstore/gh-action-sigstore-python action to v3.0.1
renovate[bot] Jun 20, 2025
8309f02
Merge pull request #1617 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Jun 20, 2025
572f1ed
Merge pull request #1621 from cclib/renovate/sigstore-gh-action-sigst…
berquist Jun 20, 2025
af6ee09
scipy and periodictable have been hard dependencies for years
berquist Jun 1, 2025
81679f1
Nuclear: principal moments of inertia now take atomcoords index
berquist Jun 1, 2025
48e2f3e
Nuclear: rotational constants now take atomcoords index
berquist Jun 1, 2025
833b4bb
Nuclear: test center of mass calculation
berquist Jun 1, 2025
b28ac65
Nuclear: conditional syntax
berquist Jun 1, 2025
8b40a50
Nuclear: fix moment of inertia tensor sign bug
berquist Jun 22, 2025
2f53220
Nuclear: improve tests for moments of inertia and rotational constants
berquist Jun 22, 2025
280f1d7
Nuclear: add tests against regression files
berquist Jun 22, 2025
e69d694
rotconsts: ensure ordering from largest to smallest
berquist Jun 22, 2025
4ecc933
Nuclear: allow passing explicit atomic masses to methods
berquist Jun 22, 2025
ec0bc1b
Nuclear: add more type annotations
berquist Jun 22, 2025
3796896
DALTON: fix parsing rotconsts for molecules without symmetry
berquist Jun 22, 2025
db0f249
MOPAC: fix rotconsts units
berquist Jun 22, 2025
f8a529c
Nuclear: fix parsing principal moments of inertia in g/cm
berquist Jun 22, 2025
f89f30d
Nuclear: scipy.constants -> spc
berquist Jun 22, 2025
ae9a7c4
chore(deps): update cachix/install-nix-action digest to f0fe604
renovate[bot] Jun 24, 2025
9b956df
Merge pull request #1610 from berquist/nuclear-method-updates-and-tes…
shivupa Jun 25, 2025
0c7a49e
Merge pull request #1624 from cclib/renovate/cachix-install-nix-actio…
shivupa Jun 25, 2025
b36b242
Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.1
renovate[bot] Jun 26, 2025
76787dd
Merge pull request #1625 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Jun 27, 2025
d9cfbce
FChk: parse multipole moments
berquist Aug 5, 2023
b3d848d
FChk: ensure multipole moments are in lexicographic order
berquist Jun 28, 2025
7365585
FChk: reset moments to handle geometry optimizations
berquist Jun 28, 2025
6197e9d
Merge pull request #1626 from berquist/fchk-multipoles
berquist Jun 28, 2025
0ca2eed
Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.2
renovate[bot] Jul 3, 2025
af9bf05
regressions: rename unconverged fchk files
berquist Jul 5, 2025
40a0939
FChk: fix setting scfenergies
berquist Jun 28, 2025
070d840
FChk: identify Gaussian early, parse input keywords
berquist Jun 28, 2025
8cba2da
FChk: more robust setting of natom
berquist Jun 28, 2025
7d4dab0
FChk: fix shape of parsed gradient
berquist Jun 28, 2025
52b0eab
FChk: parse partial scfvalues and geovalues for Gaussian
berquist Jun 28, 2025
acd4551
testGeoOpt: testgradsdim for NWChem
berquist Jun 28, 2025
839ad58
FChk: fix parsing Gaussian keywords
berquist Jun 29, 2025
fb8d6bb
FChk: ensure all atomcoords are saved
berquist Jun 29, 2025
03871b3
FChk: parse version information from Gaussian-generated files
berquist Jul 4, 2025
cc414b5
Gaussian: detect failed calculations
berquist Jul 5, 2025
1712ffa
QChem: detect failed calculations
berquist Jul 5, 2025
0a42816
QChem: implement optstatus
berquist Jul 5, 2025
aa2c81a
testing: factor out functions for checking optstatus
berquist Jul 5, 2025
26c513e
FChk: implement optstatus and optdone
berquist Jul 5, 2025
bddac14
testSP: clean up skip comments
berquist Jul 5, 2025
34ffe52
Psi4: fix typo
berquist Jul 5, 2025
c540c65
FChk: add unit tests for geometry optimization
berquist Jul 5, 2025
65e3e02
Merge pull request #1628 from berquist/fchk-gopt
berquist Jul 5, 2025
750bcd3
Merge pull request #1627 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Jul 5, 2025
fe5ff97
ORCA: fix parsing singly-excited state calculations with over 1000 MOs
berquist Jul 5, 2025
9d431b3
pre-commit: disable autofixes from pre-commit.ci
berquist Jul 7, 2025
1fcd909
Run pre-commit in normal GitHub Actions workflow
berquist Jul 7, 2025
3083bf7
Merge pull request #1632 from berquist/turn-off-automatic-pre-commit-…
berquist Jul 7, 2025
1335200
Merge pull request #1629 from berquist/1509-orca-giant-et
berquist Jul 7, 2025
d4cf4ce
pre-commit: forbid CRLF line endings in code once and for all
berquist Jul 7, 2025
d65c36a
pre-commit: no-commit-to-branch interferes with running on merge commits
berquist Jul 7, 2025
8149113
Merge pull request #1633 from berquist/1440-force-lf-line-endings
berquist Jul 7, 2025
75a055f
Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.4
renovate[bot] Jul 17, 2025
9a7ae9f
Update shivupa/cclib-ci:py312-edge Docker digest to e0f67d2
renovate[bot] Jul 22, 2025
3c1916a
Make orca version PEP440 conformant
ktns Jul 23, 2025
15daea0
Update cachix/install-nix-action digest to c134e4c
renovate[bot] Jul 23, 2025
f13099e
Merge pull request #1639 from cclib/renovate/cachix-install-nix-actio…
berquist Jul 24, 2025
e32c97d
Merge pull request #1638 from cclib/renovate/shivupa-cclib-ci-py312-edge
berquist Jul 24, 2025
6dbad23
Merge pull request #1635 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Jul 24, 2025
fe328db
Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.5
renovate[bot] Jul 24, 2025
d0a450b
correct a spell mistake
flt6 Jul 29, 2025
b68e5d9
Add cclib citation info to README
Andrew-S-Rosen Jul 29, 2025
42001db
Update index.rst with updated citation info
Andrew-S-Rosen Jul 29, 2025
e52a2f3
Merge pull request #1643 from Andrew-S-Rosen/patch-2
berquist Jul 29, 2025
c93ecec
Update shivupa/cclib-ci:py312-edge Docker digest to 1d56387
renovate[bot] Jul 29, 2025
0cf4160
Merge pull request #1641 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Jul 29, 2025
af291f5
Merge pull request #1642 from flt6/master
berquist Jul 29, 2025
75e6c55
Merge pull request #1644 from cclib/renovate/shivupa-cclib-ci-py312-edge
berquist Jul 29, 2025
675e377
Add `bib` formatting to README
Andrew-S-Rosen Jul 29, 2025
8a02a72
Indent
Andrew-S-Rosen Jul 29, 2025
47ab990
Merge pull request #1645 from Andrew-S-Rosen/patch-3
berquist Jul 29, 2025
ef47592
Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.7
renovate[bot] Jul 29, 2025
56a884d
Merge pull request #1646 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Jul 30, 2025
0dfc1ed
Update actions/download-artifact action to v5
renovate[bot] Aug 6, 2025
0633315
Merge pull request #1648 from cclib/renovate/major-github-artifact-ac…
berquist Aug 6, 2025
3b5b632
Merge pull request #1640 from ktns/orca_version_postrelease
berquist Aug 7, 2025
35e5038
Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.8
renovate[bot] Aug 7, 2025
25fc010
Update pre-commit hook pre-commit/pre-commit-hooks to v6
renovate[bot] Aug 9, 2025
620538b
Merge pull request #1650 from cclib/renovate/pre-commit-pre-commit-ho…
berquist Aug 10, 2025
88b002b
Merge pull request #1649 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Aug 10, 2025
8619071
Update actions/checkout action to v5
renovate[bot] Aug 11, 2025
7bd0fca
Merge pull request #1652 from cclib/renovate/actions-checkout-5.x
berquist Aug 12, 2025
e97deae
Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.9
renovate[bot] Aug 14, 2025
4557cf6
Merge pull request #1654 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Aug 14, 2025
bba1753
Update pypa/gh-action-pypi-publish action to v1.13.0
renovate[bot] Sep 5, 2025
4b70578
Update actions/setup-python action to v6
renovate[bot] Sep 5, 2025
136a058
Update cachix/install-nix-action digest to 7be5dee
renovate[bot] Sep 13, 2025
2593b57
Merge pull request #1657 from cclib/renovate/pypa-gh-action-pypi-publ…
berquist Sep 19, 2025
fcb4a0b
Merge pull request #1659 from cclib/renovate/cachix-install-nix-actio…
berquist Sep 19, 2025
08adf9f
Merge pull request #1658 from cclib/renovate/actions-setup-python-6.x
berquist Sep 19, 2025
a35ade3
Update cachix/install-nix-action digest to a809471
renovate[bot] Sep 21, 2025
be54c80
Merge pull request #1660 from cclib/renovate/cachix-install-nix-actio…
berquist Sep 21, 2025
b6cbabb
Update pre-commit hook astral-sh/ruff-pre-commit to v0.13.2
renovate[bot] Sep 25, 2025
5e5e447
Initial minimal commit for a Serenity parser. (#1661)
lukas-paetow Sep 29, 2025
9870a26
Merge pull request #1656 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Sep 29, 2025
6a2975b
Serenity: Multiplicity (#1662)
lukas-paetow Sep 29, 2025
f933429
Added nbasis
Oct 1, 2025
3565c88
Added natom, atomnos, atomcoords
Oct 1, 2025
3a31161
Merge pull request #1663 from lukas-paetow/nbasis
berquist Oct 1, 2025
9af706c
Update pre-commit hook PyCQA/isort to v6.1.0
renovate[bot] Oct 1, 2025
83e3b3c
Merge branch 'master' into natom
lukas-paetow Oct 2, 2025
04b73bb
blank line at end
Oct 2, 2025
e1e17a2
Update cachix/install-nix-action digest to 9280e7a
renovate[bot] Oct 2, 2025
d90ce8c
Update pre-commit hook astral-sh/ruff-pre-commit to v0.13.3
renovate[bot] Oct 2, 2025
b744e0d
Merge pull request #1664 from lukas-paetow/natom
berquist Oct 3, 2025
94ecd34
Merge pull request #1665 from cclib/renovate/pycqa-isort-6.x
berquist Oct 3, 2025
b5acbf0
Merge pull request #1671 from cclib/renovate/astral-sh-ruff-pre-commi…
berquist Oct 3, 2025
ec87431
Merge pull request #1669 from cclib/renovate/cachix-install-nix-actio…
berquist Oct 3, 2025
f92b697
Serenity: dispersionenergies (#1672)
lukas-paetow Oct 4, 2025
703fb21
Serenity: SCF convergence criterion values per iteration (#1667)
lukas-paetow Oct 6, 2025
bce1634
Serenity: Multipole moments (#1666)
lukas-paetow Oct 10, 2025
6ba0e4d
Update pre-commit hook PyCQA/isort to v7
renovate[bot] Oct 11, 2025
2f110db
Merge pull request #1679 from cclib/renovate/pycqa-isort-7.x
berquist Oct 11, 2025
a3a94d5
Serenity: obtains index of restricted homo (#1676)
lukas-paetow Oct 11, 2025
6ae9a15
Update pre-commit hook asottile/pyupgrade to v3.21.0 (#1677)
renovate[bot] Oct 11, 2025
534fe5b
Update pre-commit hook astral-sh/ruff-pre-commit to v0.14.0 (#1674)
renovate[bot] Oct 12, 2025
d1c29c5
Serenity: Total Energy (#1670)
lukas-paetow Oct 12, 2025
68faa0e
Update cachix/install-nix-action digest to 7ab6e7f (#1682)
renovate[bot] Oct 14, 2025
0c73af3
Update cachix/install-nix-action digest to fd24c48 (#1685)
renovate[bot] Oct 15, 2025
188c832
Update pre-commit hook astral-sh/ruff-pre-commit to v0.14.1 (#1686)
renovate[bot] Oct 17, 2025
a31a1e0
Serenity: Tests (#1681)
lukas-paetow Oct 21, 2025
8dc6c6f
Serenity: Coupled Cluster Total Energies (#1673)
lukas-paetow Oct 21, 2025
abee16c
Serenity: SCF targets (#1668)
lukas-paetow Oct 21, 2025
e4150f0
Update sigstore/gh-action-sigstore-python action to v3.1.0 (#1687)
renovate[bot] Oct 22, 2025
5b4b00f
Serenity: Molecular Orbital Information (#1675)
lukas-paetow Oct 24, 2025
31cab5b
Update pre-commit hook astral-sh/ruff-pre-commit to v0.14.2 (#1690)
renovate[bot] Oct 24, 2025
e0082a6
Serenity: MP2 (#1689)
lukas-paetow Oct 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "cclib",
"image": "shivupa/cclib-ci:py310-edge"
}
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# The full list of properties is located at
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties.

root = true

[*]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{yaml,yml}]
indent_size = 2

[Makefile]
indent_style = tab
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake .
26 changes: 26 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Psi3/Psi4: pyflakes and spacing
fb35435f66eeb8b4825f7022cc2ab315e5379483
## https://github.com/cclib/cclib/pull/1307
# remove trailing whitespace
37740d43064bc13445b19ff2d3c5f1154f202896
# fix end of file
8f3fbf7d1fc060a3c8522343dd103604bd946e5d
# fix line endings to be LF
7b2e8701dcb1a1a6c437919b185be78a35c3e2a5
# ruff for all but cclib/parser
e986fd9bb37ca0113707f88f6fea7f2318671cdd
# ruff for cclib/parser
04b3e4694e001e4b91457674a490b723e17af2b7
# isort
3c499da3e44e4a8ae983407c0f07c71996d202d8
06e54bd1eb663dd948973037f336d5190f4734ce
# pre-commit autofix
7f407d1c7383a17cbe0995fc7bd65daf964f2eb9
# pre-commit autofix
0ae04b8fd098645aa3d4805abba311ccb86762dc
# pre-commit autofix
57041a7cd327d4206d9c870b7d37acaa556596c6
# pre-commit autofix
8243cb2c418f4f373c3a3e48ffa0c213dd77988e
# pre-commit autofix
47ee1d84e2325b15c9e5508d6d48ae1f49e507b3
26 changes: 26 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

coverage:
status:
project:
default:
target: auto
method:
target: auto
flags:
- method
unit:
target: auto
flags:
- unit

flags:
method:
paths:
- cclib/method/
carryforward: true
unit:
paths:
- cclib/io/
- cclib/parser/
- cclib/bridge/
carryforward: true
4 changes: 4 additions & 0 deletions .github/license_header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Copyright (c) 2024, the cclib development team

This file is part of cclib (http://cclib.github.io) and is distributed under
the terms of the BSD 3-Clause License.
27 changes: 27 additions & 0 deletions .github/scripts/run_pytest.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

# run_pytest.bash: Run pytest on cclib with coverage checking. Requires
# `pytest` and `pytest-cov`.

set -exo pipefail

PYTEST_NWORKERS="${1}"

if [[ -n "${PYTEST_NWORKERS}" ]]; then
PYTEST_PARALLELISM="-n ${PYTEST_NWORKERS} --dist worksteal"
else
PYTEST_PARALLELISM=""
fi

if [[ "${PYTEST_ENABLE_COVERAGE}" == "true" ]]; then
PYTEST_COVERAGE="--cov=cclib --cov-report=term"
else
PYTEST_COVERAGE=""
fi

PYTEST_ADDOPTS="-v -s ${PYTEST_PARALLELISM} ${PYTEST_COVERAGE} --cov-report=xml:coverage-unit.xml -m 'not is_method' -k 'not (data and pyscf)'" python -m pytest
pushd data
bash ./regression_download.sh
popd
PYTEST_ADDOPTS="-v -s ${PYTEST_PARALLELISM} ${PYTEST_COVERAGE} --cov-report=xml:coverage-regression.xml --cov-append" python -m pytest test/regression.py
PYTEST_ADDOPTS="-v -s ${PYTEST_PARALLELISM} ${PYTEST_COVERAGE} --cov-report=xml:coverage-regression.xml --cov-append" python -m pytest test/regression_io.py
22 changes: 22 additions & 0 deletions .github/scripts/run_pytest_methods.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash

# run_pytest.bash: Run pytest on cclib with coverage checking. Requires
# `pytest` and `pytest-cov`.

set -exo pipefail

PYTEST_NWORKERS="${1}"

if [[ -n "${PYTEST_NWORKERS}" ]]; then
PYTEST_PARALLELISM="-n ${PYTEST_NWORKERS} --dist worksteal"
else
PYTEST_PARALLELISM=""
fi

if [[ "${PYTEST_ENABLE_COVERAGE}" == "true" ]]; then
PYTEST_COVERAGE="--cov=cclib --cov-report=term"
else
PYTEST_COVERAGE=""
fi

PYTEST_ADDOPTS="-v -s ${PYTEST_PARALLELISM} ${PYTEST_COVERAGE} --cov-report=xml:coverage-method.xml -m 'is_method'" python -m pytest
22 changes: 22 additions & 0 deletions .github/scripts/run_pytest_pyscf.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash

# run_pytest.bash: Run pytest on cclib with coverage checking. Requires
# `pytest` and `pytest-cov`.

set -exo pipefail

PYTEST_NWORKERS="${1}"

if [[ -n "${PYTEST_NWORKERS}" ]]; then
PYTEST_PARALLELISM="-n ${PYTEST_NWORKERS} --dist worksteal"
else
PYTEST_PARALLELISM=""
fi

if [[ "${PYTEST_ENABLE_COVERAGE}" == "true" ]]; then
PYTEST_COVERAGE="--cov=cclib --cov-report=term"
else
PYTEST_COVERAGE=""
fi

PYTEST_ADDOPTS="-v -s ${PYTEST_PARALLELISM} ${PYTEST_COVERAGE} --cov-report=xml:coverage-pyscf.xml -k 'data and pyscf'" python -m pytest
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: ci

# yamllint disable-line rule:truthy
on:
push:
pull_request:

concurrency:
group: ci-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}
cancel-in-progress: true

jobs:
prechecks:
uses: ./.github/workflows/pre-commit.yml
nix:
uses: ./.github/workflows/nix.yml
unit-tests:
needs: [prechecks]
uses: ./.github/workflows/test_and_package.yml
docs:
uses: ./.github/workflows/docs.yml
secrets: inherit
publish:
needs: [nix, unit-tests, docs]
uses: ./.github/workflows/publish.yml
all:
needs: [unit-tests, publish]
runs-on: ubuntu-24.04
steps:
- name: Success
run: "true"
53 changes: 53 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
# yamllint disable rule:line-length
name: docs push

# yamllint disable-line rule:truthy
on:
workflow_dispatch:
workflow_call:

concurrency:
group: docs-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}
cancel-in-progress: true

jobs:
build-and-push-docs:
runs-on: ubuntu-24.04
container:
image: shivupa/cclib-ci:py312-edge@sha256:1d5638793e21480301db184a5fd7b10603a19851b526af67cbb7124088dfc7c7
defaults:
run:
shell: bash -eo pipefail -l {0}
steps:
- name: Installs for ssh-agent
run: |
apt-get update && apt-get install -y openssh-client
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
# so versioningit can figure out the version
fetch-depth: 0
fetch-tags: true
- name: Allow repo access (see https://github.com/actions/checkout/issues/760)
run: |
git config --global --add safe.directory /__w/cclib/cclib
- name: Prepare conda environment
run: |
echo "/opt/conda/envs/cclib/bin" >> "${GITHUB_PATH}"
- name: Build docs
run: cd doc && make default
- name: Make a no jekyll file
run: touch doc/sphinx/_build/html/.nojekyll
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.CCLIB_DOCS_KEY }}
with:
source-directory: doc/sphinx/_build/html
destination-github-username: 'cclib'
destination-repository-name: 'cclib.github.io'
commit-message: See ORIGIN_COMMIT from $GITHUB_REF
target-branch: master
if: github.ref == 'refs/heads/master'
31 changes: 31 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: build and test nix package

# yamllint disable-line rule:truthy
on:
workflow_dispatch:
workflow_call:

concurrency:
group: nix-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}
cancel-in-progress: true

jobs:
nix-build:
runs-on: ubuntu-latest
steps:
# Install Nix on the runner
- uses: cachix/install-nix-action@fd24c48048070c1be9acd18c9d369a83f0fe94d7 # v31
with:
nix_path: nixpkgs=channel:nixos-unstable
# Pull from the cachix cache
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
with:
name: nix-qchem
# Checkout of the current head in the working dir
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Check nix flake
run: nix flake check -L
# Disabled until https://github.com/Nix-QChem/NixOS-QChem/issues/513 is fixed
# - name: Build nix package
# run: nix build -L
25 changes: 25 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: pre-commit

# yamllint disable-line rule:truthy
on:
workflow_call:

concurrency:
group: style-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}
cancel-in-progress: true

permissions: {}

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
persist-credentials: false
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
- name: install dependencies for sorting regressionfiles.yaml
run: |
python -m pip install 'ruamel.yaml'
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
Loading