convert str(path) usage to path.as_posix() to get str format of Path

Update fixtures.py
This commit is contained in:
Aayush Goel
2023-07-07 11:39:11 +05:30
parent edeb458b33
commit 14924174c5
4 changed files with 53 additions and 56 deletions

View File

@@ -917,7 +917,7 @@ def main(argv=None):
if argv is None:
argv = sys.argv[1:]
samples_path = str(Path(__file__).resolve().parent.parent / "tests" / "data")
samples_path = (Path(__file__).resolve().parent.parent / "tests" / "data").as_posix()
parser = argparse.ArgumentParser(description="Lint capa rules.")
capa.main.install_common_args(parser, wanted={"tag"})