Lioman
7e3f10c7f9
remove upper bounds and unnecessary dependencies
...
- remove libraries replaced by ruff
- remove upper bounds of dev libraries
2023-10-29 21:30:25 +01:00
Lioman
8b6d215934
migrate configuration to PEP621 compatible config
...
- adapt documentation
- add wheel tests to check wheel contents.
- adapt pipeline to use pdm
- adapt autopub config
- add scripts as shortcuts to invoke tasks
2023-10-29 11:59:58 +01:00
boxydog
3a6ae72333
Add a "coverage" task to generate a coverage report
...
Add a one-liner about "invoke" in docs.
2023-10-28 17:35:00 -05:00
Justin Mayer
269751b033
Merge pull request #3223 from offbyone/switch-to-ruff
2023-10-28 22:38:26 +02:00
Yasser Tahiri
b812f2ad1c
chore: Simplify boolean if expression ✨ ( #2944 )
2023-10-28 22:06:24 +02:00
Chris Rose
58fd855385
inv task now uses ruff
2023-10-28 11:05:15 -07:00
Justin Mayer
eab67f7634
PTY all the tasks
2021-10-08 14:52:55 +02:00
MinchinWeb
cf4e8d527d
Update tasks.py
...
PTY is not supported on Windows.
2021-04-18 22:20:54 -06:00
Justin Mayer
27762d2cf7
Make PKG_PATH var in Invoke tasks.py more DRY
2021-02-18 12:29:18 +01:00
Justin Mayer
f21969a016
Ensure invoke lint task & its docs are in sync
...
Someday the entire Pelican code base will perhaps have Black and isort
formatting applied to it, but it doesn't make sense for the linter to
check that until it's actually done. This changes the `lint` Invoke task
to run Flake8 on changed lines only, which should bring it into line
with both the current Pre-commit and CI configurations.
Also, the docs erroneously stated that `invoke tests` would also check
for code style compliance, which has herein been fixed.
2020-11-20 16:22:39 +01:00
Justin Mayer
b454f76f72
Count CPU cores via psutil for parallel testing
...
psutil does a much better job at accurately counting CPU cores,
of which pytest-xdist takes advantage for the purposes of running
tests concurrently.
2020-11-02 13:17:53 +01:00
Justin Mayer
18a2720ea7
Adjust isort task: v5.2+ is now recursive by default
2020-08-11 09:13:00 +02:00
Deniz Turgut
839629b102
Cleanup test environment and requirements
...
- pytest: verbose isn't needed but show skipped tests
- mock is not needed anymore. it is part of stdlib
- Unpin Sphinx and fix warning about lexer
- Mirror tox command for doc build in tasks.py
2020-05-09 16:17:14 +03:00
Justin Mayer
1ac4abcb67
Add Windows support to Invoke tasks
2020-04-24 15:21:05 +02:00
Justin Mayer
535df9cd9c
Add Invoke tasks for building and serving docs
2019-11-12 08:36:22 -08:00
Justin Mayer
b7368f919f
Add Invoke task for updating functional test output
2019-11-12 07:40:05 -08:00
Justin Mayer
2d232d15aa
Switch invoke tests test runner to Pytest
2019-11-10 20:10:59 -08:00
Justin Mayer
e46b623254
Add initial Invoke tasks.py file
2019-11-09 08:36:45 -08:00