python: Format trivial files where only newlines were missing
Apply formatting on files that only needed adding newlines. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
9a804572a3
commit
f05deb1aa4
24 changed files with 63 additions and 24 deletions
|
@ -6,19 +6,23 @@ import pytest
|
|||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def pytest_addoption(parser):
|
||||
parser.addoption('--tool')
|
||||
parser.addoption('--tool-options')
|
||||
parser.addoption('--sys-clock-hw-cycles-per-sec', default=None)
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def tool(request):
|
||||
return request.config.getoption('--tool')
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def tool_options(request):
|
||||
return request.config.getoption('--tool-options')
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def config(request):
|
||||
build_dir = Path(request.config.getoption('--build-dir'))
|
||||
|
@ -33,6 +37,7 @@ def config(request):
|
|||
|
||||
return cfgs
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def sys_clock_hw_cycles_per_sec(request, config):
|
||||
if request.config.getoption('--sys-clock-hw-cycles-per-sec'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue