14 Commits

Author SHA1 Message Date
Abdul-Muqadim-Arbisoft
a539ca2693 feat: migrate from pylint/black to ruff (#64)
* feat: migrate from pylint/black to ruff
Linked Epic: overhangio/tutor#1251

Some new rules that have been added are:

I: sort imports
N: check for pep8-naming standards
W292: check for missing extra line at EOF

Some of our lines, particularly in config break the 88 character line length limit. For that, we add a # noqa: E501 to let ruff know to ignore the rule for that line

* test: python package distribution build when running make test
Pushing to pypi would occasionally fail because of breaking distribution build.
We verify the build in the github CI now so that we can mitigate those errors later on.

* fix: install ruff instead of pylint/black as optional dev dependency
2025-09-07 19:44:37 +05:00
Syed Muhammad Dawoud Sheraz Ali
519062a168 feat!: Rename branches master->release, nightly->main 2024-11-27 18:33:32 +01:00
Abdul-Muqadim-Arbisoft
b5d60b812c
Update plugin for compatibility with new openedx mobile repositories and upgrade dependencies (#21) 2024-06-06 16:59:22 +05:00
Régis Behmo
ffe3d6bcf9 fix: remove pkg_resources for compatibility with python 3.12
pkg_resources is a package that is unavailable in python 3.12, unless
setuptools is explicitely installed. Turns out, there are replacement
functions coming from importlib_resources, which can be obtained from
the importlib-resources pypi package. This package will be installed
with tutor starting from 17.0.2.
2024-02-12 11:57:51 +01:00
Emad Rad
df108fd4c6 chore: cleanup 2023-11-21 09:54:41 +01:00
Emad Rad
139f241de4 fix: typing added 2023-11-21 09:54:41 +01:00
Régis Behmo
7dea2459a7 feat: simplify nightly version management
By pulling the version suffix from tutor, we avoid git conflicts when
merging the release branch in nightly.
2023-11-20 17:39:46 +01:00
Régis Behmo
46b0f22e32 feat: upgrade to Palm 2023-06-15 00:21:27 +02:00
Régis Behmo
1f5cea2c27 feat: upgrade to olive 2022-12-12 18:42:59 +01:00
Andrés González
5fceb02ad7 feat: Add tutor images push and tutor images push options for the android-app image. 2022-11-25 16:12:16 +01:00
Régis Behmo
c2d05ef635 v14.0.0: upgrade to nutmeg
The app is upgraded to v3.0.2. Version v3.1.0 was not functional in our
experiment: it was crashing on every run.
2022-06-09 20:10:57 +02:00
Régis Behmo
e165bf04ea feat: upgrade to maple
In Maple, the plugin API is slightly different: the apk file is built and
stored in the android-app Docker image, then served by a simple Caddy file
server. This makes it easy to distribute the apk to students.
2021-11-15 18:00:50 +01:00
Régis Behmo
fa612e6cb3 fix: push android image to docker registry in CI
Previously, "tutor images push android" was a no-op because the "remote-image"
hook was missing.
2021-07-11 15:32:34 +02:00
Régis Behmo
872c00b53c 🌅 2021-04-27 14:45:26 +02:00