Dan Helfman
2d8b455e44
Switched from pipx to uv for installing development tools, and added tox-uv for speeding up test environment creation.
2025-07-18 15:16:45 -07:00
Dan Helfman
9a80fec91b
When running tests, use Ruff for faster and more comprehensive code linting and formatting.
2025-07-17 23:24:58 -07:00
Dan Helfman
34f677dba1
Add a flake8 plugin that enforces a blank line after if/for/while/with/try blocks.
2025-06-30 22:04:05 -07:00
Dan Helfman
3eed3191e8
Add a flake8 extension to tests to detect commented out code.
2025-06-30 21:42:38 -07:00
Dan Helfman
0d54fda27a
Use the Bandit security analysis tool when running tests.
...
SECURITY: Add timeouts to all monitoring hooks to prevent hangs on network requests.
SECURITY: For the "spot" check, use a more secure source of randomness when selecting paths to check.
2025-06-27 22:30:00 -07:00
Dan Helfman
05b34d4b56
Fix unit/integration tests and add coverage ( #1043 ).
2025-06-27 12:37:03 -07:00
Dan Helfman
01dc7e7841
Upgrade requests in test requirements to "fix" theoretical security vulnerability.
2025-06-10 11:21:34 -07:00
Dan Helfman
5a2cd1b261
Add support for Python 3.13.
2025-02-06 14:21:36 -08:00
Dan Helfman
a4baf4623b
Drop colorama as a library dependency ( #958 ).
2024-12-25 23:02:38 -08:00
Dan Helfman
148536d867
Upgrade certifi in test requirements.
2024-07-06 10:17:53 -07:00
Dan Helfman
70a978b83d
Upgrade test requirements.
2024-05-21 13:57:06 -07:00
Dan Helfman
7700b87b60
Test requirements security upgrade.
2024-04-15 14:21:01 -07:00
Dan Helfman
36d10fecb1
Upgrade black in test requirements.
2024-03-20 12:01:24 -07:00
Dan Helfman
009062128d
Remove Python 3.8+ restriction, as only Python 3.8+ is supported.
2024-01-22 09:41:43 -08:00
Dan Helfman
f39cea4abf
Remove additional Python 3.7-isms ( #784 ).
2023-11-07 10:17:16 -08:00
Dan Helfman
dcf25fa041
Upgrade ruamel.yaml dependency to support version 0.18.x ( #783 ).
2023-11-07 10:00:13 -08:00
Dan Helfman
e7169f6fb2
Upgrade certifi test dependency to fix security alert.
2023-10-04 22:59:15 -07:00
Dan Helfman
5f06884d5a
Fix Apprise/PyYAML end-to-end test breakage ( #715 ).
2023-10-04 22:51:05 -07:00
Pim Kunis and pizzapim
eaa22be3db
fix PR comments
2023-10-01 16:59:59 +00:00
Pim Kunis and pizzapim
a587e207f9
pin Apprise dependencies for test requirements
2023-10-01 16:59:59 +00:00
Dan Helfman
05b989347c
Upgrade requests test requirement (security).
2023-05-23 08:43:45 -07:00
Dan Helfman
8cb5a42a9e
Drop deprecated pkg_resources in favor of importlib.metadata and packaging.
2023-04-14 21:21:25 -07:00
Dan Helfman
5dbb71709c
Upgrade test requirements and code style requirements. Auto-reformat code accordingly.
2023-04-14 19:35:24 -07:00
Dan Helfman
2934d0902c
Code spell checking on every test run!
2023-04-01 11:03:59 -07:00
Dan Helfman
f42890430c
Add code style plugins to enforce use of Python f-strings and prevent single-letter variables.
2023-03-23 23:11:14 -07:00
Dan Helfman
5d19d86e4a
Add flake8-quotes to complain about incorrect quoting so I don't have to!
2023-03-07 14:08:35 -08:00
Dan Helfman
ab4c08019c
Upgrade pytest test dependency (security).
2022-11-18 11:13:51 -08:00
Dan Helfman
48f44d2f3d
Add tests for compact action ( #394 ).
2022-02-08 12:05:02 -08:00
Dan Helfman
96384d5ee1
Attempt to fix typed-ast build issue by relaxing version requirements in test.
2022-01-02 23:22:24 -08:00
Dan Helfman
8ed5467435
Drop support for Python 3.6. Add support for 3.10.
2022-01-02 23:17:57 -08:00
Dan Helfman
27d37b606b
Better error messages! Switch the library used for validating configuration files (from pykwalify to jsonschema).
2021-06-22 13:27:59 -07:00
Dan Helfman
73235e59be
Upgrade "py" test dependency (security).
2021-04-20 10:39:49 -07:00
Dan Helfman
c43b50b6e6
Upgrade PyYAML.
2021-03-30 22:29:20 -07:00
Dan Helfman
c072678936
Add support for ruamel.yaml 0.17.x YAML parsing library ( #404 ).
2021-03-30 15:53:19 -07:00
Dan Helfman
631da1465e
Add support for Python 3.9.
2021-03-30 15:36:26 -07:00
Dan Helfman
1f4f28b4dc
Drop support for Python 3.5. Only support black code formatter on Python 3.8+.
2020-11-22 17:27:21 -08:00
Dan Helfman
ea6cd53067
Update versions of test dependencies (test_requirements.txt and test containers).
2020-11-22 14:48:07 -08:00
Dan Helfman
76c569cf84
Update test requirements.
2019-11-01 12:18:35 -07:00
Dan Helfman
128ebf04ce
Dead man's switch via healthchecks.io integration ( #223 ) + new monitoring documentation.
2019-10-15 10:49:14 -07:00
Dan Helfman
d6ac7a9192
Upgrade various dependencies.
2019-09-19 13:04:59 -07:00
Dan Helfman
39e5aac479
If a "prefix" option in borgmatic's configuration has an empty value (blank or ""), then disable default prefix.
2019-07-27 14:04:13 -07:00
Dan Helfman
a6c4debf78
Additional test coverage, and upgrade test requirements.
2019-06-13 10:01:55 -07:00
Dan Helfman
a74ad5475e
Run all Borg commands such that they log to syslog as well as console.
2019-06-12 20:56:20 -07:00
Luke Murphy
b94dbff216
Add isort configuration
...
Closes https://projects.torsion.org/witten/borgmatic/issues/169 .
2019-05-14 18:59:19 +02:00
Luke Murphy
30f007687a
Add colorama to testing dependencies
2019-05-13 13:40:17 +02:00
Dan Helfman
71b1c3dfb0
Make automated tests support running in Python 3.5.
2018-10-15 09:04:29 -07:00
Dan Helfman
2299e5d41e
Additional dependency version pins in test requirements.
2018-10-06 14:17:47 -07:00
Dan Helfman
3f22a99412
Rev pykwalify.
2018-10-03 08:59:08 -07:00
Dan Helfman
56ad1d164a
Use Flake8 code checker as part of running automated tests.
2018-09-29 23:15:18 -07:00
Dan Helfman
76d6a69f5a
Use Black code formatter as part of running automated tests.
2018-09-29 22:45:00 -07:00