tox-dev / tox

@@ -49,7 +49,7 @@
Loading
49 49
        parser.add_argument("--hash", action=AddSortedUniqueAction, type=_validate_hash)
50 50
51 51
52 -
_HASH = re.compile(r"sha(256:[a-z0-9]{64}|384:[a-z0-9]{96}|521:[a-z0-9]{128})")
52 +
_HASH = re.compile(r"sha(256:[a-z0-9]{64}|384:[a-z0-9]{96}|512:[a-z0-9]{128})")
53 53
54 54
55 55
def _validate_hash(value: str) -> str:

@@ -196,6 +196,16 @@
Loading
196 196
            ],
197 197
            id="hash with escaped newline",
198 198
        ),
199 +
        pytest.param(
200 +
            "attrs --hash=sha512:7a91e5a3d1a1238525e477385ef5ee6cecdc8f8fcc2a79d1b35a9f57ad15c814"
201 +
            "dada670026f41fdd62e5e10b3fd75d6112704a9521c3df105f0b6f3bb11b128a",
202 +
            {},
203 +
            [
204 +
                "attrs --hash sha512:7a91e5a3d1a1238525e477385ef5ee6cecdc8f8fcc2a79d1b35a9f57ad15c814"
205 +
                "dada670026f41fdd62e5e10b3fd75d6112704a9521c3df105f0b6f3bb11b128a"
206 +
            ],
207 +
            id="sha512 hash is supported",
208 +
        ),
199 209
    ],
200 210
)
201 211
def test_req_file(tmp_path: Path, req: str, opts: Dict[str, Any], requirements: List[str]) -> None:
Files Coverage
src/tox 99.73%
tests 100.00%
Project Totals (151 files) 99.83%
3.9 - MacOs
Build #740610914 -
tests
3.10.0-alpha.7 - Windows
Build #740610914 -
tests
3.10.0-alpha.7 - MacOs
Build #740610914 -
tests
3.7 - MacOs
Build #740610914 -
tests
3.6 - MacOs
Build #740610914 -
tests
3.6 - Ubuntu
Build #740610914 -
tests
3.7 - Ubuntu
Build #740610914 -
tests
3.8 - Ubuntu
Build #740610914 -
tests
3.9 - Ubuntu
Build #740610914 -
tests
3.10.0-alpha.7 - Ubuntu
Build #740610914 -
tests
3.8 - MacOs
Build #740610914 -
tests
3.7 - Windows
Build #740610914 -
tests
3.6 - Windows
Build #740610914 -
tests
3.9 - Windows
Build #740610914 -
tests
3.8 - Windows
Build #740610914 -
tests

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading