Skip to content

Commit da98d61

Browse files
standardize module docstring
1 parent 1bbfa2e commit da98d61

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+61
-122
lines changed

pina/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
"""
2-
Module for the Pina library.
3-
"""
1+
"""Module for the Pina library."""
42

53
__all__ = [
64
"Trainer",

pina/adaptive_function/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
"""
2-
Adaptive Activation Functions Module.
3-
"""
1+
"""Adaptive Activation Functions Module."""
42

53
__all__ = [
64
"AdaptiveActivationFunctionInterface",

pina/adaptive_function/adaptive_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Module for adaptive functions."""
1+
"""Module for the Adaptive Functions."""
22

33
import torch
44
from ..utils import check_consistency

pina/adaptive_function/adaptive_function_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Module for adaptive functions."""
1+
"""Module for the Adaptive Function interface."""
22

33
from abc import ABCMeta
44
import torch

pina/adaptive_functions/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
"""
2-
Old module for adaptive functions. Deprecated in 0.2.0.
3-
"""
1+
"""Old module for adaptive functions. Deprecated in 0.2.0."""
42

53
import warnings
64

pina/callback/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Module for the Pina Callbacks."""
2+
13
__all__ = [
24
"SwitchOptimizer",
35
"R3Refinement",

pina/callback/adaptive_refinement_callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""PINA Callbacks Implementations"""
1+
"""Module for the R3Refinement callback."""
22

33
import importlib.metadata
44
import torch

pina/callback/linear_weight_update_callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""PINA Callbacks Implementations"""
1+
"""Module for the LinearWeightUpdate callback."""
22

33
import warnings
44
from lightning.pytorch.callbacks import Callback

pina/callback/optimizer_callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""PINA Callbacks Implementations"""
1+
"""Module for the SwitchOptimizer callback."""
22

33
from lightning.pytorch.callbacks import Callback
44
from ..optim import TorchOptimizer

pina/callback/processing_callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""PINA Callbacks Implementations"""
1+
"""Module for the Processing Callbacks."""
22

33
import copy
44
import torch

0 commit comments

Comments
 (0)