Skip to content

Commit a76e63b

Browse files
Lint
1 parent ddbe4ec commit a76e63b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

xobjects/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def get_installed_c_source_paths(self) -> List[str]:
368368
include = "xtrack"
369369
"""
370370
sources = []
371-
for ep in entry_points(group='xobjects', name='include'):
371+
for ep in entry_points(group="xobjects", name="include"):
372372
module = ep.load()
373373
path = Path(module.__file__).parents[1]
374374
sources.append(str(path))

xobjects/context_cpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def compile_kernel(
427427
xtr_link_args.append("-DXO_CONTEXT_CPU_SERIAL")
428428

429429
extra_include_paths = self.get_installed_c_source_paths()
430-
include_flags = [f'-I{path}' for path in extra_include_paths]
430+
include_flags = [f"-I{path}" for path in extra_include_paths]
431431
xtr_compile_args.extend(include_flags)
432432
xtr_link_args.extend(include_flags)
433433

xobjects/context_cupy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def build_kernels(
457457

458458
extra_compile_args = (*extra_compile_args, "-DXO_CONTEXT_CUDA")
459459
extra_include_paths = self.get_installed_c_source_paths()
460-
include_flags = [f'-I{path}' for path in extra_include_paths]
460+
include_flags = [f"-I{path}" for path in extra_include_paths]
461461
xtr_compile_args.extend(include_flags)
462462

463463
module = cupy.RawModule(

xobjects/context_pyopencl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def build_kernels(
220220
fid.write(specialized_source)
221221

222222
extra_include_paths = self.get_installed_c_source_paths()
223-
include_flags = [f'-I{path}' for path in extra_include_paths]
223+
include_flags = [f"-I{path}" for path in extra_include_paths]
224224

225225
extra_compile_args = (
226226
*extra_compile_args,

0 commit comments

Comments
 (0)