6 Commits

Author SHA1 Message Date
Abdul-Muqadim-Arbisoft
8b682f0902 fix: add one line where file ends
according to pep8 principle missed one line empty priciple at end of file, add that in this commit
2025-09-07 19:50:54 +05:00
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
Abdul-Muqadim-Arbisoft
7b4af1f15c v20.0.0 2025-04-06 19:16:47 +05:00
Syed Muhammad Dawoud Sheraz Ali
c2ba1b57fd
build: Add hatch_build in sdist to fix installation issues (#39) 2025-03-12 16:06:59 +05:00
Abdul-Muqadim-Arbisoft
05fc54b68d feat: migrate from setup.py/setuptools to pyproject.toml/hatch 2025-02-24 08:26:09 +05:00
Régis Behmo
60fdd3ac50 fix: build-time warning
Installing from source triggers a warning on pip 23.0.1 if
pyproject.toml is not present. Building does not require any special
dependencies, so we just add a simple pyproject.toml file.

See: https://github.com/overhangio/tutor/issues/836
2023-05-17 10:24:21 +02:00