Esempio n. 1
0
def fake_project_pyproject():
    content = """
    [tool.ward]
    path = ["a/", "x/y"]
    exclude = ["a/b/"]
    order = "hello world"
    """
    yield from make_project("pyproject.toml", content)
Esempio n. 2
0
def fake_project_pyproject():
    content = """
    [tool.ward]
    path = ["a/", "x/y"]
    exclude = ["a/b/"]
    some_other_config = ["hello", "world"]
    """
    yield from make_project("pyproject.toml", content)
Esempio n. 3
0
def fake_project_git():
    yield from make_project(".git")
Esempio n. 4
0
def fake_project_pyproject():
    yield from make_project("pyproject.toml")
Esempio n. 5
0
def project():
    yield from make_project("module.py")