-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyproject: Migrate from poetry to pyproject
* This allows extension repository be installed from repo root from pip
- Loading branch information
1 parent
863890a
commit 68f13d0
Showing
4 changed files
with
52 additions
and
40 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
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,3 +11,6 @@ website/public | |
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
### Build Info ### | ||
blueos_extensions_repository.egg-info/ |
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 |
---|---|---|
@@ -1,49 +1,58 @@ | ||
# This file is used only for setting up CI. no deployment is done with it | ||
|
||
[tool.poetry] | ||
[project] | ||
name = "blueos-extensions-repository" | ||
version = "0.0.1" | ||
description = "Blue Robotics BlueOS Extensions Repository" | ||
authors = ["Blue Robotics <[email protected]>"] | ||
license = "MIT" | ||
packages = [{include = "blueos_repository"}] | ||
|
||
[tool.poetry.dependencies] | ||
aiohttp = "3.7.4" | ||
aiohttp-retry = "2.8.3" | ||
json-five = "1.1.1" | ||
python = "^3.10" | ||
semver = "^2.13.0" | ||
dataclass-wizard = "^0.22.3" | ||
|
||
[tool.poetry.dev-dependencies] | ||
black = "22.3.0" | ||
isort = "5.10.1" | ||
mypy = "0.941" | ||
pydantic = "1.9.0" | ||
pylint = "2.14.5" | ||
authors = [ | ||
{name = "Blue Robotics", email = "[email protected]"}, | ||
] | ||
license = {text = "MIT License"} | ||
requires-python = ">=3.10" | ||
dependencies = [ | ||
"aiohttp==3.7.4", | ||
"aiohttp-retry==2.8.3", | ||
"json-five==1.1.1", | ||
"semver>=2.13.0", | ||
"dataclass-wizard==0.22.3", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"black==22.3.0", | ||
"isort==5.10.1", | ||
"mypy==0.941", | ||
"pydantic==1.9.0", | ||
"pylint==2.14.5", | ||
] | ||
|
||
[tool.setuptools] | ||
packages = [ | ||
"blueos_repository", | ||
"blueos_repository.docker", | ||
"blueos_repository.extension" | ||
] | ||
|
||
[tool.black] | ||
line-length = 120 | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.pylint] | ||
[tool.pylint.master] | ||
enable = "all" | ||
disable = [ | ||
"line-too-long", # We already have this in black. | ||
"locally-disabled", # We know what we are doing, necessary to load plugins in runtime | ||
"missing-class-docstring", | ||
"missing-function-docstring", | ||
"missing-module-docstring", | ||
"suppressed-message", | ||
"wrong-import-position", | ||
] | ||
|
||
[tool.pylint.miscellaneous] | ||
notes = [ "FIXME" ] # TODO is removed for internal development | ||
[tool.pylint.master] | ||
enable = "all" | ||
disable = [ | ||
"line-too-long", # We already have this in black. | ||
"locally-disabled", # We know what we are doing, necessary to load plugins in runtime | ||
"missing-class-docstring", | ||
"missing-function-docstring", | ||
"missing-module-docstring", | ||
"suppressed-message", | ||
"wrong-import-position", | ||
] | ||
|
||
[tool.pylint.miscellaneous] | ||
notes = ["FIXME"] # TODO is removed for internal development | ||
|
||
[tool.mypy] | ||
allow_untyped_decorators = true | ||
|