Skip to content
Snippets Groups Projects
Commit 2e70f4a9 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix code style

parent 3b2f3154
No related branches found
No related tags found
1 merge request!477Move custom GPU atomics into separate namespace. Add a script to print the include path.
Pipeline #79797 passed
import argparse
def main():
parser = argparse.ArgumentParser("Print the include path for the pystencils runtime headers")
parser.add_argument("-I", dest="dash_i", action="store_true", help="Emit as `-I` compiler argument")
parser.add_argument("-s", dest="strip", action="store_true", help="Emit without trailing newline")
parser = argparse.ArgumentParser(
"Print the include path for the pystencils runtime headers"
)
parser.add_argument(
"-I", dest="dash_i", action="store_true", help="Emit as `-I` compiler argument"
)
parser.add_argument(
"-s", dest="strip", action="store_true", help="Emit without trailing newline"
)
args = parser.parse_args()
from . import get_pystencils_include_path
include_path = get_pystencils_include_path()
if args.dash_i:
......@@ -15,4 +23,5 @@ def main():
end = "" if args.strip else "\n"
print(get_pystencils_include_path(), end=end)
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment