Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: xenserver/python-libs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: xenserver-next/python-libs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on May 12, 2024

  1. [Fix CI] Suppress false positive of pyre about nonexisting pytest.rai…

    …ses()
    
    Signed-off-by: Bernhard Kaindl <[email protected]>
    bernhardkaindl committed May 12, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    039c024 View commit details
  2. pyproject.toml: pin the current pyre version to prevent more surprises

    Signed-off-by: Bernhard Kaindl <[email protected]>
    bernhardkaindl committed May 12, 2024
    Copy the full SHA
    d52a2eb View commit details
  3. .pre-commit-config.yaml: mypy wants types-toml now, add it as dependency

    Signed-off-by: Bernhard Kaindl <[email protected]>
    bernhardkaindl committed May 12, 2024
    Copy the full SHA
    adbe0a6 View commit details
Showing with 6 additions and 2 deletions.
  1. +1 −0 .pre-commit-config.yaml
  2. +3 −2 pyproject.toml
  3. +2 −0 tests/test_cpiofile.py
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -70,6 +70,7 @@ repos:
- pytest-subprocess
- types-mock
- types-six
- types-toml


- repo: https://github.com/rcmdnk/pyproject-pre-commit
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -71,9 +71,10 @@ mypy = [
"types-six",
"types-toml",
]
# pyre introduced two false-postives recently, pin it to prevent further surprises:
pyre = [
"pyre-check",
"pyre-extensions",
"pyre-check == 0.9.21",
"pyre-extensions == 0.0.30",
]
pytype = [
"pandas",
2 changes: 2 additions & 0 deletions tests/test_cpiofile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# suppress false positive on pytest missing pytest.raises():
# pyre-ignore-all-errors[16]
"""
Test various modes of creating and extracting CpioFile using different compression
types, opening the archive as stream and as file, using pyfakefs as filesystem without