http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/pyproject.toml Mercurial Repository: p/roundup/code: pyproject.toml history 2025-01-01T01:02:09-05:00 test: added pytest-testmon http://hg.code.sf.net:8000/p/roundup/code/#changeset-8a875e0bf749144783cd12f872469a7edd2c7efa John Rouillard rouilj@ieee.org 2025-01-01T01:02:09-05:00 2025-01-01T01:02:09-05:00
changeset 8a875e0bf749
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description test: added pytest-testmon

Run test cases that execute changed code. Reduces the time spent to run
tests that cover the changed code.
files
chore(ruff): update scanning rules. http://hg.code.sf.net:8000/p/roundup/code/#changeset-c41e669a655ce0a91deb460568fcd35be4d4bf5b John Rouillard rouilj@ieee.org 2024-12-21T17:31:04-05:00 2024-12-21T17:31:04-05:00
changeset c41e669a655c
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore(ruff): update scanning rules.
files
A few cleanups to toml format. alphabetize, whitespace... http://hg.code.sf.net:8000/p/roundup/code/#changeset-736f769b48c8a72afd5ab2c374e04754a9e9b445 John Rouillard rouilj@ieee.org 2024-12-07T17:34:06-05:00 2024-12-07T17:34:06-05:00
changeset 736f769b48c8
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description A few cleanups to toml format. alphabetize, whitespace...

Using: pretty-toml-sort with --spaces-indent-inline-array 4 then
editing the result to keep blank lines inside sections and some
comments that it was stripping.
files
chore(lint) http://hg.code.sf.net:8000/p/roundup/code/#changeset-9c58f5940c20d33cf81da8dd8507383fb9a1277d John Rouillard rouilj@ieee.org 2024-03-24T15:17:30-04:00 2024-03-24T15:17:30-04:00
changeset 9c58f5940c20
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore(lint)

update tests add a number of error tests (E) to make it more like the
flake8 whitespace and format checks. Also untabify file. Use spaces.
files
test: add pyproject.toml: set pytest and ruff project defaults http://hg.code.sf.net:8000/p/roundup/code/#changeset-1b7162938988fdf110135a90f74a0e49714c7f36 John Rouillard rouilj@ieee.org 2024-03-23T02:56:01-04:00 2024-03-23T02:56:01-04:00
changeset 1b7162938988
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description test: add pyproject.toml: set pytest and ruff project defaults

Pytest 6 is required to use this. This means it works only for python3.

It includes a dummy setting for redis password assuming redis is
running at the default port. This requires pytest-env be installed.

At some point I expect to add project and build-system tables to allow
building using the build package. The version and long_description
specifiers in the project table will be dynamic since the version is
from roundup/__init__.py and description from doc/announcement.txt.

One open issue is how to support the equivalent of:

python setup.py build_doc

to run sphinx over the docs and include them in the share directory
bundled with the distributions.

Modified test_redis_session.py to better handle empty password.
files