-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:yt-project/yt into ewah-split-patch
- Loading branch information
Showing
1,037 changed files
with
74,196 additions
and
62,781 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
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,40 @@ | ||
# transition to isort | ||
7edfcee093cca277307aabdb180e0ffc69768291 | ||
81418e459f16c48d6b7a75d6ef8035dfe9651b39 | ||
60f670d75a23a6d094879437a8df455a66acbeaf | ||
556636e64712a4e161b1d09aeba5833540d05994 | ||
|
||
# transition to black | ||
ebadee629414aed2c7b6526e22a419205329ec38 | ||
6f0e37c4b926f1411b14bd35da85c7e7e27d0cd9 | ||
|
||
# automated trailing whitespace removal | ||
3ee548b04a41dfbc009921c492fba6a0682651ca | ||
|
||
# converting to f-strings | ||
ad898e8e3954bc348daaa449d5ed73db778785e9 | ||
ef51ad5199692afcf1a8ab491aa115c00c423113 | ||
323ac4ddd4e99d6b951666736d4e9b03b6cfa21e | ||
f7445f02022293f1b089cd8907000301516354bf | ||
|
||
# f-strings, black & isort on doc | ||
e6276f25fc5a570d886b6bbdaa7e3062da2d35ca | ||
|
||
# fix EOF | ||
5e5ce1487f9b04344d297b7901cf5f82c6fee3cb | ||
|
||
# fix trailing whitespace | ||
12068b7a38ec17cb3d83baca32c1dc8d07613f9a | ||
|
||
# auto-fixes from pre-commit | ||
f3a0720bb713aead0f0d50888f2176d20fe02ef4 | ||
7931b96a90c20d835a4dc96b81019382f9461351 | ||
|
||
# legacy conversion commits authored by "convert-repo" | ||
b7112d4ccbcd309ae2c5c2ee0f9352466a0cecf2 | ||
33f3988bbfa97399114e3df9ac491c828ae59a8c | ||
cae222aec845d0b400e2aa2804e75b2adef17ccd | ||
993162d6fb38f55b0bf372da1c3b984ee2d4f085 | ||
ef783151bfd7c6777fa25e9e06f95fe47653b3aa | ||
063e2fb630932cbdcbbbdba603c100a37e7e40f6 | ||
279b0551ccc9d9d4c114904b94bc705381c61105 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Build and Test | ||
|
||
on: [push, pull_request] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
env: | ||
HOMEBREW_NO_AUTO_UPDATE: 1 | ||
|
||
jobs: | ||
|
||
build: | ||
strategy: | ||
matrix: | ||
os: [macos-latest, windows-latest, ubuntu-18.04] | ||
python-version: [3.9] | ||
dependencies: [full] | ||
tests-type: [unit] | ||
include: | ||
- os: ubuntu-18.04 | ||
python-version: 3.6 | ||
dependencies: minimal | ||
tests-type: unit | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Install Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
- uses: s-weigand/setup-conda@v1 | ||
if: matrix.os == 'windows-latest' | ||
with: | ||
update-conda: true | ||
conda-channels: conda-forge | ||
activate-conda: true | ||
python-version: ${{matrix.python-version}} | ||
- name: Install dependencies and yt | ||
shell: bash | ||
env: | ||
dependencies: ${{ matrix.dependencies }} | ||
run: source ./tests/ci_install.sh | ||
- name: Run Tests | ||
env: | ||
testsuite: ${{ matrix.tests-type }} | ||
run: pytest |
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,60 @@ | ||
name: Build and Test | ||
|
||
on: [push, pull_request] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
env: | ||
HOMEBREW_NO_AUTO_UPDATE: 1 | ||
|
||
jobs: | ||
|
||
build: | ||
strategy: | ||
matrix: | ||
os: [macos-latest, windows-latest, ubuntu-18.04] | ||
python-version: [3.9] | ||
dependencies: [full] | ||
tests-type: [unit] | ||
include: | ||
- os: ubuntu-18.04 | ||
python-version: 3.6 | ||
dependencies: minimal | ||
tests-type: unit | ||
- os: ubuntu-18.04 | ||
python-version: 3.7 | ||
dependencies: full | ||
tests-type: answer | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Install Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
- uses: s-weigand/setup-conda@v1 | ||
if: matrix.os == 'windows-latest' | ||
with: | ||
update-conda: true | ||
conda-channels: conda-forge | ||
activate-conda: true | ||
python-version: ${{matrix.python-version}} | ||
- name: Install dependencies and yt | ||
shell: bash | ||
env: | ||
dependencies: ${{ matrix.dependencies }} | ||
run: source ./tests/ci_install.sh | ||
- name: Run Tests | ||
env: | ||
testsuite: ${{ matrix.tests-type }} | ||
run: python -m nose -c nose_${testsuite}.cfg --traverse-namespace | ||
- name: Report Failed Answers | ||
if: ${{ matrix.tests-type == 'answer' && failure() }} | ||
shell: bash | ||
run: python tests/report_failed_answers.py -f -m --xunit-file answer_nosetests.xml |
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,33 @@ | ||
name: Auto review bad practice | ||
on: [pull_request] | ||
|
||
jobs: | ||
h5py-bad-practices: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: check-h5py-import | ||
# check that we don't alias h5py to h5 | ||
# reason: discoverability is important since this module's api | ||
# is unstable and we want to be able to check for potential future failures | ||
id: h5-import | ||
run: | | ||
grep -r -n "import _h5py as h5" yt | grep -v "import _h5py as h5py" | cat > h5-imports.log | ||
if [ -s h5-imports.log ] ; then | ||
echo "Please do not import h5py as h5. Here are the faulty lines." | ||
cat h5-imports.log | ||
exit 1 | ||
fi | ||
- name: check-h5py-filemode | ||
id: h5-file-mode | ||
# check that a mode argument is always present in calls to h5py.File() | ||
# reason: the default value is different in older versions 'w' VS newer ones 'r' | ||
run: | | ||
grep -E -r -n "h5py\.File\([^,]+\)" yt | cat > h5-mode.log | ||
if [ -s h5-mode.log ] ; then | ||
echo "h5py.File() should never be called without an explicit mode argument." | ||
echo "Here are the faulty lines." | ||
cat h5-mode.log | ||
exit 1 | ||
fi |
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 |
---|---|---|
|
@@ -56,4 +56,4 @@ [email protected] = [email protected] | |
Fabian Koller = [email protected] | ||
Rafael Ruggiero = [email protected] | ||
[email protected] = [email protected] | ||
[email protected] = [email protected] | ||
[email protected] = [email protected] |
Oops, something went wrong.