Commit graph

4 commits

Author SHA1 Message Date
Robert Eckelmann
e7c8b2d5dc
pyproject.toml: add docs to the parts to be excluded (MR 2312)
as reported in #2355 pmmbootstrap wheel installs files to /usr/lib/python3.12/site-packages/docs
2024-05-18 18:21:04 +02:00
Newbyte
85f777073e
pyproject.toml: Fix deprecation warning (MR 2262)
Fixes this warning:

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
2024-03-10 16:18:23 +00:00
Pablo Correa Gómez
d895f4a465
Migrate from setup.py to pyproject.toml (MR 2265)
In the process, drop the list of required python packages. This is
only needed for pip, as pmbootstrap checks by itself. This way we
avoid duplicating the minimum required version.

We also don't install the helpers anymore, as modern tooling does not
support installing things outside the python package dir
2024-02-29 00:47:33 +01:00
Hugo Osvaldo Barrera
27618d5ffd
Use ruff for linting
Use ruff instead of flake8. Aside from being substantially faster, ruff
includes a lot of flake's plug-ins built-in, some of which may be useful
to enable as a follow-up.

Also move the relevant configuration out of the script in .ci/ and into
the project-wide settings. A side effect of this is that IDEs should
detect these settings, and ignore the same rules as CI, avoiding false
positives while developing locally.

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230529203448.18656-1-hugo@whynothugo.nl%3E
2023-06-04 10:56:22 +02:00