-
Notifications
You must be signed in to change notification settings - Fork 652
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into feature/mmcif
- Loading branch information
Showing
132 changed files
with
2,871 additions
and
1,708 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# black | ||
83e5f99051d86ca354b537be8854c40f9b6ce172 |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
- [macos-12, macosx_*, x86_64] | ||
- [windows-2019, win_amd64, AMD64] | ||
- [macos-14, macosx_*, arm64] | ||
python: ["cp310", "cp311", "cp312"] | ||
python: ["cp310", "cp311", "cp312", "cp313"] | ||
defaults: | ||
run: | ||
working-directory: ./package | ||
|
@@ -142,7 +142,7 @@ jobs: | |
mv dist/MDAnalysisTests-* testsuite/dist | ||
- name: upload_source_and_wheels | ||
uses: pypa/[email protected].1 | ||
uses: pypa/[email protected].2 | ||
with: | ||
skip_existing: true | ||
repository_url: https://test.pypi.org/legacy/ | ||
|
@@ -171,7 +171,7 @@ jobs: | |
mv dist/MDAnalysisTests-* testsuite/dist | ||
- name: upload_tests | ||
uses: pypa/[email protected].1 | ||
uses: pypa/[email protected].2 | ||
with: | ||
packages_dir: testsuite/dist | ||
skip_existing: true | ||
|
@@ -201,7 +201,7 @@ jobs: | |
mv dist/MDAnalysisTests-* testsuite/dist | ||
- name: upload_source_and_wheels | ||
uses: pypa/[email protected].0 | ||
uses: pypa/[email protected].2 | ||
|
||
upload_pypi_mdanalysistests: | ||
if: | | ||
|
@@ -227,7 +227,7 @@ jobs: | |
mv dist/MDAnalysisTests-* testsuite/dist | ||
- name: upload_tests | ||
uses: pypa/[email protected].0 | ||
uses: pypa/[email protected].2 | ||
with: | ||
packages_dir: testsuite/dist | ||
|
||
|
@@ -243,7 +243,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python-version: ["3.10", "3.11", "3.12"] | ||
python-version: ["3.10", "3.11", "3.12", "3.13"] | ||
type: ["FULL", "MIN"] | ||
exclude: | ||
# Multiple deps don't like windows | ||
|
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 |
---|---|---|
|
@@ -16,12 +16,10 @@ defaults: | |
shell: bash -l {0} | ||
|
||
jobs: | ||
darker_lint: | ||
black: | ||
if: "github.repository == 'MDAnalysis/mdanalysis'" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
permissions: | ||
pull-requests: write | ||
defaults: | ||
run: | ||
shell: bash | ||
|
@@ -35,66 +33,17 @@ jobs: | |
with: | ||
python-version: "3.10" | ||
|
||
- name: darker-main-code | ||
id: darker-main-code | ||
uses: akaihola/[email protected] | ||
continue-on-error: true | ||
- uses: psf/black@stable | ||
with: | ||
version: "~=1.6.1" | ||
options: "--check --diff --color" | ||
src: "./package/MDAnalysis" | ||
revision: "HEAD^" | ||
lint: "flake8" | ||
|
||
- name: darker-test-code | ||
id: darker-test-code | ||
uses: akaihola/[email protected] | ||
continue-on-error: true | ||
options: "--check --verbose" | ||
src: "./package" | ||
version: "~= 24.0" | ||
|
||
- uses: psf/black@stable | ||
with: | ||
version: "~=1.6.1" | ||
options: "--check --diff --color" | ||
src: "./testsuite/MDAnalysisTests" | ||
revision: "HEAD^" | ||
lint: "flake8" | ||
|
||
- name: get-pr-info | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | ||
const prNumber = context.payload.number; | ||
core.exportVariable('PULL_NUMBER', prNumber); | ||
|
||
- name: save-status | ||
env: | ||
MAIN: ${{ steps.darker-main-code.outcome }} | ||
TEST: ${{ steps.darker-test-code.outcome }} | ||
shell: python | ||
run: | | ||
import os | ||
import json | ||
from pathlib import Path | ||
Path('./darker_results/').mkdir(exist_ok=True) | ||
d = { | ||
'main_stat': os.environ['MAIN'], | ||
'test_stat': os.environ['TEST'], | ||
'PR_NUM': os.environ['PULL_NUMBER'], | ||
'RUN_ID': os.environ['GITHUB_RUN_ID'], | ||
} | ||
with open('darker_results/status.json', 'w') as f: | ||
json.dump(d, f) | ||
- name: check-json | ||
run: cat darker_results/status.json | ||
|
||
- name: upload-status | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: darkerlint | ||
path: darker_results/ | ||
retention-days: 1 | ||
options: "--check --verbose" | ||
src: "./testsuite" | ||
version: "~= 24.0" | ||
|
||
|
||
pylint_check: | ||
|
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.