mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-06 03:25:28 +00:00
Add black check to nox file
This commit is contained in:
parent
4f41fbf64e
commit
c58206b892
10
noxfile.py
10
noxfile.py
@ -1,6 +1,14 @@
|
||||
import nox
|
||||
|
||||
|
||||
@nox.session()
|
||||
def tests(session):
|
||||
session.install(".[tests]")
|
||||
session.run("pytest", '--driver=firefox', *session.posargs)
|
||||
session.run("pytest", "--driver=firefox", *session.posargs)
|
||||
|
||||
|
||||
@nox.session()
|
||||
def black(session):
|
||||
session.install(".[tests]")
|
||||
session.run("black", "zundler", "--check", *session.posargs)
|
||||
session.run("black", "tests", "--check", *session.posargs)
|
||||
|
@ -61,6 +61,7 @@ tests = [
|
||||
'pytest>=8',
|
||||
'selenium',
|
||||
'pytest-selenium',
|
||||
'black',
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
|
Loading…
x
Reference in New Issue
Block a user