Skip to content

Commit 122de01

Browse files
Lint
1 parent 9923426 commit 122de01

2 files changed

Lines changed: 15 additions & 12 deletions

File tree

docs/source/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ def no_doc_run(self):
171171
r"libsemigroups::BooleanProd, libsemigroups::BooleanZero, "
172172
r"libsemigroups::BooleanOne, int>"
173173
): r"Matrix",
174-
r"libsemigroups::Konieczny<BMat8, libsemigroups::KoniecznyTraits<BMat8>>::DClass": "KoniecznyBMat8DClass",
174+
r"libsemigroups::Konieczny<BMat8, "
175+
"libsemigroups::KoniecznyTraits<BMat8>>::DClass": "KoniecznyBMat8DClass",
175176
}
176177

177178
# This dictionary should be of the form class_name -> (pattern, repl), where
@@ -209,7 +210,8 @@ def no_doc_run(self):
209210
"KoniecznyBMat8": [
210211
(r"\bBMat8\b", "Element"),
211212
(
212-
"libsemigroups::Konieczny<libsemigroups::Element, libsemigroups::KoniecznyTraits<libsemigroups::Element>>::DClass",
213+
"libsemigroups::Konieczny<libsemigroups::Element, "
214+
"libsemigroups::KoniecznyTraits<libsemigroups::Element>>::DClass",
213215
"KoniecznyBMat8.DClass",
214216
),
215217
],

libsemigroups_pybind11/konieczny.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
11
# -*- coding: utf-8 -*-
22

3-
# Copyright (c) 2022-2024 J. D. Mitchell
3+
# Copyright (c) 2022-2025 J. D. Mitchell
44
#
55
# Distributed under the terms of the GPL license version 3.
66
#
77
# The full license is in the file LICENSE, distributed with this software.
88

99
# pylint: disable=no-name-in-module, invalid-name, duplicate-code
10+
# pylint: disable=missing-class-docstring, missing-function-docstring
11+
# pylint: disable=protected-access
1012

1113
"""
12-
This package provides the user-facing python part of libsemigroups_pybind11 for
13-
Konieczny.
14+
This package provides the user-facing python part of ``libsemigroups_pybind11`` for
15+
:any:`KoniecznyBMat8`.
1416
"""
1517

1618
from copy import copy
1719
from functools import wraps
1820
from typing import Self, TypeVar as _TypeVar, Iterator
1921

20-
from .detail.cxx_wrapper import (
21-
to_cxx,
22-
to_py,
23-
CxxWrapper,
24-
)
25-
from .detail.decorators import may_return_undefined, copydoc
26-
2722
from _libsemigroups_pybind11 import (
2823
BMat as _BMat,
2924
BMat8 as _BMat8,
@@ -43,6 +38,12 @@
4338
Transf4 as _Transf4,
4439
)
4540

41+
from .detail.cxx_wrapper import (
42+
to_cxx,
43+
to_py,
44+
CxxWrapper,
45+
)
46+
4647
Element = _TypeVar("Element")
4748

4849

0 commit comments

Comments
 (0)