Skip to content

Commit 53198ab

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent a468e22 commit 53198ab

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ def get_env_config():
6363
# no conda env: fallback to system/venv Python include/lib dirs
6464
py_inc = sysconfig.get_paths().get("include")
6565
libdir = sysconfig.get_config_var("LIBDIR") or "/usr/lib"
66-
return {"include_dirs": [p for p in [py_inc] if p], "library_dirs": [libdir]}
66+
return {
67+
"include_dirs": [p for p in [py_inc] if p],
68+
"library_dirs": [libdir],
69+
}
6770

6871

6972
def create_extensions():

src/extensions/powderpatterndiffraction_ext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#include <ObjCryst/ObjCryst/General.h>
2727
#include <ObjCryst/ObjCryst/PowderPattern.h>
28-
#include <ObjCryst/ObjCryst/ScatteringData.h>
28+
#include <ObjCryst/ObjCryst/ScatteringData.h>
2929

3030
namespace bp = boost::python;
3131
using namespace boost::python;

src/extensions/reflectionprofile_ext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class ReflectionProfileWrap :
5454

5555
REAL GetFullProfileWidth(
5656
const REAL relativeIntensity, const REAL xcenter,
57-
const REAL h, const REAL k, const REAL l)
57+
const REAL h, const REAL k, const REAL l)
5858
{
5959
bp::override f = this->get_override("GetFullProfileWidth");
6060
return f(relativeIntensity, xcenter, h, k, l);

0 commit comments

Comments
 (0)