-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove nbconvert < 6 compat patches * throw error on nbconvert<6 * convert pdf via html exporter to use nbconvert webpdf exporter * removed pdfkit, wkhtmltopdf, cleanup * undo adding nbconvert[webpdf] to grading container image * changelog * add depencies for exporting pdfs via html to grading image * enable pdf via html in grading containers * install only chromium * remove nbconvert < 6 compat patches * throw error on nbconvert<6 * convert pdf via html exporter to use nbconvert webpdf exporter * removed pdfkit, wkhtmltopdf, cleanup * undo adding nbconvert[webpdf] to grading container image * changelog * add depencies for exporting pdfs via html to grading image * enable pdf via html in grading containers * install only chromium * use poetry and pyproject.toml for packaging * update CI to run Docker tests weekly instead of on every push/PR * extras poetry * docs * py3.12 default, migrate to extras for dep mgmt, slim down grading envs * update proj03 example * Update .readthedocs.yml * catch chromium error from nbconvert * changelog * combine export and grading extras * update run-docker-tests.yml * debugging beta branch not reusing cached docker images in tests * update .dockerignore * add matplotlib and numpy to grade test requirements.txt * Handle empty assignment configs in Otter Assign Closes #795 * Clean up JupyterLite support and remove import_or_raise per #511 * Removed variables key of assignment config in favor of generate.serialized_variables in Otter Assign per #628 * Update Otter Assign to add cell metadata so that questions with no check cell have their tests run after the last solution cell per #798 * type hints for functions in otter/assign * cleanup * upgrade setup-buildx-action * Updated Otter Assign to strip type annotations from generated test code per #796 * Updated Otter Grade Docker image to create an empty submission_metadata.json file in the grading image to prevent plugins from erroring per #811 * Otter Grade: Added Progress Monitoring to Queue - When an instance of ``multiprocessing.Queue`` is passed to grade/__init_.py::main, progress messages are written to the ``multiprocessing.Queue` via custom QueueLoggingHandler * Otter Grade: Cleaned Up Progress Monitoring * Otter Grade: Clean Up Progress Monitoring * Otter Grade: Progress Monitoring CHANGELOG updated * Update CHANGELOG.md * Update utils.py * Format code with black and isort (#839) * add black to pyproject.toml * reformat files with black * add isort for import sorting * reformat files with isort * restore test file formatting * fix exclusions and make otter generate render templates correctly * add workflow for checking formatting * use different poetry setup action * pin fica>=0.4.1 * fixing lsp complaints * fix args and kwargs type hints * add student_files to otter assign (#852) * Add pip install cell to Colab notebooks (#862) * Add ability to ignore .OTTER_LOG to Notebook.export and Otter Assign (#863) * add ability to ignore .OTTER_LOG to Notebook.export and Otter Assign * typo * Fix/add support for all_or_nothing test file config (#865) * Add more tests for otter.test_files (#866) * update deps * update cache key * debugging failed builds * add nb_conda_kernels * add note about code formatting to CONTRIBUTING.md * go back an additional frame in Notebook.check for py3.13 for some reason :( * use matrix to cover supported python versions * add coveralls parallel builds for matrix and pin py3.9 for docker tests * docs for all_or_nothing * Auto-ignore test fn calls in assign exception-based test cells (#867) * Add addl packages to otter --version (#868) * add addl packages to otter --version * add addl packages to otter --version * remake poetry.lock * Fix converting indented functions in test cells to doctests (#869) * add question structure to otter assign docs * remove unnecessary passage --------- Co-authored-by: sean-morris <[email protected]>
- Loading branch information
1 parent
8a946bf
commit e56de20
Showing
177 changed files
with
9,658 additions
and
3,367 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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
__pycache__ | ||
.DS_Store | ||
dist | ||
build | ||
*.egg-info | ||
.ipynb_checkpoints | ||
test/test-grading-notebook.ipynb | ||
test/tests | ||
.coverage | ||
.vscode | ||
test/output | ||
.sos | ||
docs/_build | ||
.Rproj.user | ||
.Rhistory | ||
.DS_Store | ||
.ionide | ||
gs-testing-stuff | ||
.ipynb_checkpoints | ||
.git | ||
.github | ||
.mypy.cache | ||
.pytest_cache | ||
.OTTER_LOG | ||
.Rproj.user | ||
.Rhistory | ||
.sos | ||
.vscode | ||
*.egg-info | ||
build | ||
dist | ||
docs | ||
examples | ||
logo | ||
.git | ||
poetry.lock | ||
test |
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: Check formatting | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- beta | ||
- release | ||
pull_request: | ||
branches: | ||
- master | ||
- beta | ||
- release | ||
- temp | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Check formatting | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
TAR: /bin/tar | ||
|
||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9" | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
virtualenvs-path: .venv | ||
installer-parallel: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
poetry install --with dev --no-root | ||
- name: Run formatters | ||
run: | | ||
source .venv/bin/activate | ||
make format CI=true |
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.