mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Auto-format code with black (#11099)
Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
This commit is contained in:
parent
86ee26e3c2
commit
e7fd06bdbe
|
@ -4,9 +4,10 @@ from hypothesis import settings
|
||||||
|
|
||||||
# Functionally disable deadline settings for tests
|
# Functionally disable deadline settings for tests
|
||||||
# to prevent spurious test failures in CI builds.
|
# to prevent spurious test failures in CI builds.
|
||||||
settings.register_profile("no_deadlines", deadline=2*60*1000) # in ms
|
settings.register_profile("no_deadlines", deadline=2 * 60 * 1000) # in ms
|
||||||
settings.load_profile("no_deadlines")
|
settings.load_profile("no_deadlines")
|
||||||
|
|
||||||
|
|
||||||
def pytest_addoption(parser):
|
def pytest_addoption(parser):
|
||||||
try:
|
try:
|
||||||
parser.addoption("--slow", action="store_true", help="include slow tests")
|
parser.addoption("--slow", action="store_true", help="include slow tests")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user