Skip to content

Commit

Permalink
Improve module docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed May 15, 2024
1 parent 42f5034 commit 5685468
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 14 deletions.
6 changes: 1 addition & 5 deletions configzen/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# SPDX-License-Identifier: GPL-3.0
# (C) 2024-present Bartosz Sławecki (bswck)
"""
`configzen`.
Manage configuration with pydantic.
"""
"""Manage configuration with pydantic."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion configzen/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`configzen.config`: the base configuration model, `BaseConfig`."""
"""The base configuration model class [`BaseConfig`][configzen.config.BaseConfig]."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion configzen/context.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`configzen.context`: Isolate the library context from the user context."""
"""Facilities for [contextual][contextvars] processing."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion configzen/data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`configzen.data`: Encapsulate configuring and using data formats within configzen."""
"""Interfaces for encapsulation of configuring and using data formats."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion configzen/errors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`configzen.errors`: Specialized exceptions raised by configzen."""
"""Specialized exceptions raised by configzen."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion configzen/module_proxy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`configzen.module_proxy`: Runtime modules wrapping with attribute type validation."""
"""Runtime modules with attribute type validation."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion configzen/processor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
`configzen.replacements`: Replacement API processor for configuration data.
Replacement API processor for configuration data.
Allows to tweak the configuration data programmatically before it is given
to the model config and revert the changes back to the original data structure
Expand Down
2 changes: 1 addition & 1 deletion configzen/routes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`configzen.route`: Routes creation and parsing."""
"""Routes creation and parsing."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion configzen/sources.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`configzen.sources`: Sources and destinations that hold the configuration data."""
"""Sources and destinations that hold the configuration data."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion configzen/typedefs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`configzen.typedefs`: Miscellaneous type definitions for configzen."""
"""Miscellaneous type definitions for configzen."""

from __future__ import annotations

Expand Down

0 comments on commit 5685468

Please sign in to comment.