Skip to content

Commit

Permalink
Merge pull request #6 from modeseven-os-climate/fix-linting
Browse files Browse the repository at this point in the history
Chore: Further content tweaks to pass linting
  • Loading branch information
ModeSevenIndustrialSolutions authored Sep 12, 2024
2 parents b0051b8 + c5d27ef commit d3b6731
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions content/skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
``[options.entry_points]`` section in ``setup.cfg``::
console_scripts =
fibonacci = osc_physrisk_financial.skeleton:run
fibonacci = osc_physrisk_metadata.skeleton:run
Then run ``pip install .`` (or ``pip install -e .`` for editable mode)
which will install the command ``fibonacci`` inside your current environment.
Expand All @@ -28,7 +28,7 @@
import logging
import sys

from osc_physrisk_financial import __version__
from osc_physrisk_metadata import __version__

__author__ = "github-actions[bot]"
__copyright__ = "github-actions[bot]"
Expand All @@ -40,7 +40,7 @@
# ---- Python API ----
# The functions defined in this section can be imported by users in their
# Python scripts/interactive interpreter, e.g. via
# `from osc_physrisk_financial.skeleton import fib`,
# `from osc_physrisk_metadata.skeleton import fib`,
# when using this Python module as a library.


Expand Down Expand Up @@ -148,6 +148,6 @@ def run():
# After installing your project with pip, users can also run your Python
# modules as scripts via the ``-m`` flag, as defined in PEP 338::
#
# python -m osc_physrisk_financial.skeleton 42
# python -m osc_physrisk_metadata.skeleton 42
#
run()
8 changes: 4 additions & 4 deletions src/osc_physrisk_metadata/skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
``[options.entry_points]`` section in ``setup.cfg``::
console_scripts =
fibonacci = osc_physrisk_financial.skeleton:run
fibonacci = osc_physrisk_metadata.skeleton:run
Then run ``pip install .`` (or ``pip install -e .`` for editable mode)
which will install the command ``fibonacci`` inside your current environment.
Expand All @@ -28,7 +28,7 @@
import logging
import sys

from osc_physrisk_financial import __version__
from osc_physrisk_metadata import __version__

__author__ = "github-actions[bot]"
__copyright__ = "github-actions[bot]"
Expand All @@ -40,7 +40,7 @@
# ---- Python API ----
# The functions defined in this section can be imported by users in their
# Python scripts/interactive interpreter, e.g. via
# `from osc_physrisk_financial.skeleton import fib`,
# `from osc_physrisk_metadata.skeleton import fib`,
# when using this Python module as a library.


Expand Down Expand Up @@ -148,6 +148,6 @@ def run():
# After installing your project with pip, users can also run your Python
# modules as scripts via the ``-m`` flag, as defined in PEP 338::
#
# python -m osc_physrisk_financial.skeleton 42
# python -m osc_physrisk_metadata.skeleton 42
#
run()

0 comments on commit d3b6731

Please sign in to comment.