Example #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)
Example #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)
Example #3
0
def fake_project_git():
    yield from make_project(".git")
Example #4
0
def fake_project_pyproject():
    yield from make_project("pyproject.toml")
Example #5
0
def project():
    yield from make_project("module.py")