1
0
Fork 0
forked from github/pelican
Commit graph

9 commits

Author SHA1 Message Date
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