Update dependencies - pyxdg, pytest, black (#1076)

* Update version pin on pyxdg and run poetry update
* Update pytest pin and rerun poetry update
* Update black pin to latest version, poetry update, and make format
This commit is contained in:
Micah Jerome Ellison 2020-11-14 11:29:51 -08:00 committed by Jonathan Wren
parent 7a465eabeb
commit c38c39efee
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
10 changed files with 435 additions and 319 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)
)