Closed mirekdlugosz closed 1 year ago
Merging #414 (cda4dc4) into main (876a0ed) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #414 +/- ##
=======================================
Coverage 79.11% 79.11%
=======================================
Files 5 5
Lines 249 249
=======================================
Hits 197 197
Misses 52 52
Impacted Files | Coverage Δ | |
---|---|---|
camayoc/command.py | 90.24% <ø> (ø) |
|
camayoc/config.py | 100.00% <ø> (ø) |
|
camayoc/exceptions.py | 94.11% <ø> (ø) |
|
camayoc/utils.py | 71.87% <ø> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Make Camayoc use the same stack as Quipucords: Python 3.11 + ruff + black.
This requires a bit of changes in Jenkins, submitted as swatch-ci MR #195.
This also changes the way you install Camayoc - now the install command is
poetry install
orpoetry install --with dev
. See poetry documentation on installation method. Personally, I install it usingpipx
, which I get from Fedora repo.Command like
poetry install
will create new virtual environment.poetry run <command>
can be used to invoke a command while this virtual environment is active.poetry shell
will spawn a new shell with virtual environment activated. poetry will respect currently activated virtual environment, so if you prefer things likepython -m venv
,direnv
etc., poetry should just pick them up.During review, feel free to ignore 22812b31db6bbacfd1475395e604ab882cc39b1a, which is basically result of running
ruff --fix .
.