♻ Modernize
Refactor to use ArgumentParser and python-dotenv for secrets Switch to poetry Add black,isort Format using black
This commit is contained in:
1 parent
1360fbab3f
commit
f9b51d10be
7 files changed
+630
-86
No files matched your search
@@ -0,0 +1,28 @@
|
||||
[tool.poetry]
|
||||
name = "lab2hub"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = []
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.9"
|
||||
"github3.py" = "*"
|
||||
python-gitlab = "*"
|
||||
GitPython = "*"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
python-dotenv = "^0.20.0"
|
||||
black = "^22.3.0"
|
||||
isort = "^5.10.1"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
target_version = ['py39']
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
line_length = 120
|
||||
Reference in new issue
Block a user