Skip to content

Commit f72c191

Browse files
Setup: Fix formatting
1 parent 1ce56e2 commit f72c191

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
(libsemigroups.rtfd.io).
1010
"""
1111

12+
import distutils.errors # pylint: disable=deprecated-module
1213
import glob
1314
import os
1415
import platform
1516
import sys
1617
from pathlib import Path
1718
from typing import Any
18-
import distutils.errors
1919

2020
import pkgconfig
2121
from pybind11.setup_helpers import (
@@ -63,7 +63,7 @@ def get_arch():
6363
return arch
6464

6565

66-
def get_macro_value(compiler: Any, macro: str, include_dirs: list[str]) -> bool:
66+
def get_macro_value(compiler: Any, macro: str, include_directories: list[str]) -> bool:
6767
"""Check the value of a libsemigroups C++ preprocessor macro"""
6868

6969
with tmp_chdir():
@@ -79,7 +79,7 @@ def get_macro_value(compiler: Any, macro: str, include_dirs: list[str]) -> bool:
7979
fname.write_text(file_text, encoding="utf-8")
8080

8181
try:
82-
compiler.compile([str(fname)], include_dirs=include_dirs)
82+
compiler.compile([str(fname)], include_dirs=include_directories)
8383
except distutils.errors.CompileError:
8484
return False
8585
return True

0 commit comments

Comments
 (0)