-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: set minimum python version to 3.8, move onc to src folder
Also update outdated Oceans 2.0 links in the README.
- Loading branch information
Showing
17 changed files
with
9 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ authors = [ | |
{ name="ONC Data Team", email="[email protected]" }, | ||
] | ||
license = {file = 'LICENSE.txt'} | ||
requires-python = ">=3.9" | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"requests", | ||
'python-dateutil', | ||
|
@@ -31,26 +31,17 @@ Homepage = "https://wiki.oceannetworks.ca/display/O2A/Oceans+3.0+API+Home" | |
Documentation = "https://wiki.oceannetworks.ca/display/O2A/Client+Libraries" | ||
Source = "https://github.com/OceanNetworksCanada/api-python-client" | ||
|
||
[tool.setuptools] | ||
packages = ["onc"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
src_paths = ["onc", "tests"] | ||
|
||
[tool.ruff] | ||
# Reference for the rules https://docs.astral.sh/ruff/rules/ | ||
select = [ | ||
# pycodestyle | ||
"E", "W", | ||
# Pyflakes | ||
"F", | ||
# pyupgrade | ||
"UP", | ||
# flake8-bugbear | ||
"B", | ||
# flake8-simplify | ||
"SIM", | ||
# isort | ||
"I", | ||
"E", "W", # pycodestyle | ||
"F", # pyflakes | ||
"UP", # pyupgrade | ||
"B", # flake8-bugbear | ||
"SIM", # flake8-simplify | ||
"I", # isort | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.