Henry Schreiner
8c5f89c035
chore: update typing to be generic on function args
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 13:06:17 -04:00
Henry Schreiner
6d038dfbdf
chore: update typing to collections.abc
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 12:38:21 -04:00
Henry Schreiner
534cada6a5
chore: cleaner exception tracebacks
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-09-16 11:05:35 -04:00
mayeut
6d27f05c7c
chore: use from __future__ import annotations
2022-07-19 07:47:45 +02:00
mayeut
bc17f103f1
chore: drop python 3.6 for cibuildwheel driver
...
This drops python 3.6 for cibuildwheel.
Building python 3.6 packages is still supported.
2022-07-19 07:47:20 +02:00
Henry Schreiner
98fedb7e51
refactor: use dataclasses vs. NamedTuples
2022-04-28 11:41:47 -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
Henry Schreiner and Joe Rickerby
dff3aca4b6
style: second set of updates ( #651 )
...
* style: second set of updates
* style: more updates from joerick
Co-authored-by: Joe Rickerby <joerick@mac.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2021-04-29 20:21:42 -04:00
5cbe3e2254
style: apply some cleanups from Sourcery.ai ( #626 )
...
* style: apply some fixes from Sorcery
* Apply suggestions from code review
Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net >
Co-authored-by: Joe Rickerby <joerick@mac.com >
Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2021-03-24 23:23:27 +01:00
Henry Schreiner and Joe Rickerby
d2772c2293
refactor: subprocess.run ( #592 )
...
* change check_call to run
* refactor: change check_output to run
* Apply suggestions from code review
Co-authored-by: Joe Rickerby <joerick@mac.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2021-02-14 12:56:33 -05:00
Henry Schreiner
2a73fee411
fix: enable and fix full type checking ( #509 )
...
* fix: enable and fix fully type checking
* chore: pre-commit autoupdate
* refactor: pull types out to file
2021-01-02 14:32:55 -05:00
Joe Rickerby
c5a9837784
Update cibuildwheel/bashlex_eval.py
2020-07-19 19:46:40 +01:00
Yannick Jadoul
28af49a006
Simplify by removing shlex.quote and shlex.split when using EnvironmentExecutor
2020-07-19 17:37:25 +02:00
Yannick Jadoul
3a2d7a21b1
Fix quotes-in-commandsubstitution problem with well-placed shlex.quote
2020-07-19 17:32:07 +02:00
Joe Rickerby
6847454850
Remove debug code
2020-07-17 09:31:53 +01:00
Joe Rickerby
08eddeff8b
Fix test and add another more awkward example
2020-07-15 21:07:33 +01:00
Joe Rickerby
dc446d3cac
moar debug
2020-07-12 12:45:59 +01:00
Joe Rickerby
e31c24d3bb
Fix overridden PATH test, by ensuring bash command substitution rules
2020-06-28 21:51:06 +01:00
Joe Rickerby
2edb33662b
Import organisation
2020-06-26 20:22:49 +01:00
Joe Rickerby
df69dda44a
Fix broken PATH test - it was erroring for a different reason
2020-06-26 12:59:26 +01:00
Joe Rickerby
e417791ae4
Remove the linux bash script, replaced with a docker exec approach
2020-06-23 19:46:23 +01:00
mayeut
5e767fcc9a
Use f-strings
...
Now that minimum python supported is 3.6, we can use f-strings !
2020-05-09 11:53:20 +02:00
Yannick Jadoul
891e2dd6aa
Fixing some review remarks
2020-05-06 23:57:33 +02:00
Yannick Jadoul
1a765ac431
Use variable annotations instead of workarounds
2020-05-06 23:55:54 +02:00
Yannick Jadoul
40967a6572
collections.namedtuple to typing.NameTuple and flake8 fixes
2020-05-06 23:55:54 +02:00
Yannick Jadoul
c128018590
Clean up bashlex_eval.py's types
2020-05-06 23:55:54 +02:00
Yannick Jadoul
618f1cefae
Added majority of type annotations (to a by now outdated version)
2020-05-06 23:55:54 +02:00
Nicola Soranzo
c738481e82
Rename main_util_fixtures.py to conftest.py to allow fixture auto discovery
...
Also fix new PEP-008 issues.
2020-02-14 15:50:06 +00:00
Nicola Soranzo
cab6ecef24
Fix all PEP-008 issues
2020-02-14 15:50:06 +00:00
Yannick Jadoul
e8d121552c
Remove a few more Python 2-compatibility workarounds
2020-02-04 11:58:52 +01:00
Joe Rickerby
e413863531
Fix running command nodes on python 3
2017-09-07 22:38:52 +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