Skip to content
This repository was archived by the owner on Feb 17, 2021. It is now read-only.

Commit 0695a3c

Browse files
author
staticdev
committed
Fix pre-commit
1 parent 422b304 commit 0695a3c

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pip==20.2.4
22
nox==2020.8.22
33
poetry==1.1.2
4-
virtualenv==20.2.1
4+
virtualenv==20.2.1

src/toml_validator/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
@click.version_option()
1111
def main(filename: str) -> None:
1212
"""Makes validations and echos errors if found.
13-
13+
1414
Return status:
1515
* 0: no errors found
1616
* 1: incorrect usage
1717
* 2: invalid path
18-
* 3: errors found
18+
* 3: errors found
1919
"""
2020
validation.validate_extension(filename)
2121

tests/test_main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ def test_main_with_invalid_path(
7575
assert result.exit_code == 2
7676

7777

78-
7978
def test_main_with_errors(
8079
runner: click.testing.CliRunner,
8180
mock_validation_validate_extension: Mock,

0 commit comments

Comments
 (0)