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

Maintain consistency fix #2

Merged
merged 4 commits into from
Sep 5, 2024
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Ensure you have Python 3.6 or higher installed.
To use the Tron-Energy package, start by importing the necessary classes and creating an instance of the `TronEnergy` class:

```python
from tronenergy import TronEnergy
from tron_energy import TronEnergy

# Create an instance of TronEnergy
tron_energy = TronEnergy(api_key='your-api-key', api_secret='your-api-secret')
Expand All @@ -49,7 +49,7 @@ print(order_response)
Here’s an example of how you might use Tron-Energy to estimate the cost of an energy order and then place the order:

```python
from tronenergy import TronEnergy
from tron_energy import TronEnergy

# Initialize the TronEnergy client
tron_energy = TronEnergy(api_key='your-api-key', api_secret='your-api-secret')
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ homepage = "https://itrx.io/"
repository = "https://github.com/Ephraim-Akolo/Tron-Energy"

[tool.setuptools_scm]
write_to = "tronenergy/version.py"
write_to = "tron_energy/version.py"
version_scheme = "post-release"
local_scheme = "no-local-version"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_tron_energy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from unittest.mock import patch, Mock
from tronenergy import TronEnergy
from tron_energy import TronEnergy

class TestTronEnergyMethods(unittest.TestCase):
def setUp(self):
Expand Down
File renamed without changes.
File renamed without changes.
Loading