Henry Schreiner and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
097806b6b1
tests: fully type the test suite ( #2794 )
...
* tests: fully type the test suite
* chore: require more typing
Signed-off-by: Henry Schreiner <henryfs@princeton.edu >
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Henry Schreiner <henryfs@princeton.edu >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-01 15:23:02 +01:00
Henry Schreiner
708cf1d32b
style: remove from future import annotations
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Joe Rickerby
c731529187
Merge pull request #1196 from jack1142/remove_dependency_on_unix_tools_in_windows
...
Remove dependency on Unix tools in Windows test suite
2022-07-30 15:10:07 +01:00
Joe Rickerby
7c95f77524
Ensure the tests that use subcommands have access to the system env
2022-07-29 18:48:43 +01:00
jack1142
3cbe175632
Fix Windows paths getting escaped
2022-07-29 18:57:47 +02:00
jack1142
e0f25c5fb5
Use sys.executable
2022-07-29 18:52:26 +02:00
jack1142
cccc2acae9
Use an equivalent of Unix echo written in Python
2022-07-29 18:04:49 +02:00
jack1142
1a7abe562b
Remove dependency on Unix tools in Windows
2022-07-25 19:10:09 +02:00
mayeut
6d27f05c7c
chore: use from __future__ import annotations
2022-07-19 07:47:45 +02:00
Henry Schreiner and Joe Rickerby
f45de3f24e
feat: support passenv ( #914 )
...
* feat: support passenv
* refactor: environment-pass and spaces
* docs: document environment pass
* Add unit test for passing through awkward env variable values
* Remove unused as_shell_commands method from environment
* Fix passthrough edge case by avoiding bash for passthrough assignments
* Fix mypy error in test
* Fix unit test
* Apply suggestions from code review
Co-authored-by: Joe Rickerby <joerick@mac.com >
2021-11-21 15:19:45 -05:00
Henry Schreiner
25c27ad283
style: check spelling in pre-commit ( #758 )
2021-07-14 13:45:04 -04:00
Henry Schreiner
bda76b21cb
style: activate string normalization
2021-05-03 13:12:36 -04:00
Henry Schreiner
178aaea6c7
style: apply black via pre-commit run -a
2021-05-03 13:12:36 -04:00
Yannick Jadoul
44fd8b5c26
Fix test to demonstrate failure
2020-07-19 17:19:48 +02:00
Joe Rickerby
08eddeff8b
Fix test and add another more awkward example
2020-07-15 21:07:33 +01:00
Joe Rickerby
9fb748bfb0
Add unit test for this failure mode
2020-07-12 21:45:46 +01:00
Joe Rickerby
833a069207
Pass PATH during command substitution test
2020-07-05 17:39:40 +01:00
Joe Rickerby
df69dda44a
Fix broken PATH test - it was erroring for a different reason
2020-06-26 12:59:26 +01:00
Nicola Soranzo
cab6ecef24
Fix all PEP-008 issues
2020-02-14 15:50:06 +00:00
mayeut
ce93a03098
Fix tests on Windows Python 3.8
2019-11-09 12:16:25 +01:00
Joe Rickerby
34e8ee0f25
Fix empty env string case
2017-09-06 18:35:42 +01:00
Joe Rickerby
f56ddda157
Make shell evals work and add tests for that
2017-09-02 22:09:32 +01:00
Joe Rickerby
5ae4da631f
Add environment code satisfying unit test
2017-09-01 13:24:12 +01:00
Joe Rickerby
fd385a9bf8
Add some tests for the environment functionality
2017-08-30 19:05:06 +01:00