Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Replace skeleton files with correct repo name #4

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()