Update black pin to latest version, poetry update, and make format

This commit is contained in:
Micah Jerome Ellison 2020-11-07 14:18:34 -08:00
parent 80651f8f0e
commit 3f281c220b
10 changed files with 72 additions and 24 deletions

View file

@ -94,7 +94,11 @@ def test_not_multiple_alone():
@pytest.mark.parametrize(
"cli",
["two -not one -not three", "-not one two -not three", "-not one -not three two",],
[
"two -not one -not three",
"-not one two -not three",
"-not one -not three two",
],
)
def test_not_mixed(cli):
result = expected_args(excluded=["one", "three"], text=["two"])

View file

@ -10,10 +10,13 @@ def test_default_hour_is_added():
def test_default_minute_is_added():
assert time.parse(
"2020-06-20",
inclusive=False,
default_hour=0,
default_minute=30,
bracketed=False,
) == datetime.datetime(2020, 6, 20, 0, 30)
assert (
time.parse(
"2020-06-20",
inclusive=False,
default_hour=0,
default_minute=30,
bracketed=False,
)
== datetime.datetime(2020, 6, 20, 0, 30)
)