Skip to content

Commit

Permalink
#1280 make all ref guide tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
arporter committed Nov 14, 2024
1 parent 441927f commit 551a9fb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 15 deletions.
2 changes: 2 additions & 0 deletions doc/reference_guide/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ def remove_op_enum_attrib_docstring(app, what, name, obj, skip, options):
'''
if name.endswith("Operator") and isinstance(obj, enum.EnumType):
return True
if name.endswith("TransformationError") and what == "class":
return True
return skip


Expand Down
8 changes: 0 additions & 8 deletions src/psyclone/domain/lfric/algorithm/psyir/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,3 @@
LFRicKernelFunctor)
from psyclone.domain.lfric.algorithm.psyir.lfric_kernel_functor import (
LFRicBuiltinFunctorFactory)


# For Sphinx AutoAPI
__all__ = [
'LFRicAlgorithmInvokeCall',
'LFRicKernelFunctor',
'LFRicBuiltinFunctor',
'LFRicBuiltinFunctorFactory']
2 changes: 0 additions & 2 deletions src/psyclone/psyir/symbols/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,9 @@
'Symbol',
'SymbolError',
'SymbolTable',
#'TYPE_MAP_TO_PYTHON',
'TypedSymbol',
'UnsupportedFortranType',
'UnknownInterface',
'UnsupportedType',
'UnresolvedInterface',
'UnresolvedType']

3 changes: 2 additions & 1 deletion src/psyclone/psyir/transformations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
from psyclone.psyir.transformations.loop_tiling_2d_trans \
import LoopTiling2DTrans
from psyclone.psyir.transformations.loop_trans import LoopTrans
from psyclone.psyir.transformations.value_range_check_trans import ValueRangeCheckTrans
from psyclone.psyir.transformations.value_range_check_trans import (
ValueRangeCheckTrans)
from psyclone.psyir.transformations.omp_loop_trans import OMPLoopTrans
from psyclone.psyir.transformations.omp_target_trans import OMPTargetTrans
from psyclone.psyir.transformations.omp_taskwait_trans import OMPTaskwaitTrans
Expand Down
4 changes: 0 additions & 4 deletions src/psyclone/psyir/transformations/transformation_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,3 @@ def __init__(self, value):
super().__init__(value)
self.value = LazyString(
lambda: f"Transformation Error: {value}")


# For AutoAPI documentation generation
__all__ = ["TransformationError"]

0 comments on commit 551a9fb

Please sign in to comment.