Release/0.9 (#141)
* add flake8 and prettier to pre-commit-config * add setup.cfg * add workers=True to seed_everything() * update lightning badge logo * bump package versions * update README.md * add __init__.py files * add more logger configs parameters * add default Dockerfile * change .env.template to .env.example * move inference example to readme * remove img_dataset.py * simplify names of wandb callbacks * remove wandb test marker * format files with prettier
This commit is contained in:
1 parent
023d4bdecc
commit
70ab061f75
49 files changed
+473
-415
No files matched your search
@@ -0,0 +1,26 @@
|
||||
import pytest
|
||||
|
||||
from tests.helpers.runif import RunIf
|
||||
|
||||
|
||||
def test_something1():
|
||||
"""Some test description."""
|
||||
assert True is True
|
||||
|
||||
|
||||
def test_something2():
|
||||
"""Some test description."""
|
||||
assert 1 + 1 == 2
|
||||
|
||||
|
||||
@pytest.mark.parametrize("arg1", [0.5, 1.0, 2.0])
|
||||
def test_something3(arg1: float):
|
||||
"""Some test description."""
|
||||
assert arg1 > 0
|
||||
|
||||
|
||||
# use RunIf to skip execution of some tests, e.g. when not on windows or when no gpus are available
|
||||
@RunIf(skip_windows=True, min_gpus=1)
|
||||
def test_something4():
|
||||
"""Some test description."""
|
||||
assert True is True
|
||||
Reference in new issue
Block a user