Initial commit
This commit is contained in:
commit
93900c3875
7 changed files with 1699 additions and 0 deletions
56
pyproject.toml
Normal file
56
pyproject.toml
Normal file
|
@ -0,0 +1,56 @@
|
|||
[tool.poetry]
|
||||
name = "glicid-spawner"
|
||||
version = "0.0.1"
|
||||
description = "JupyterHub Batch Spawner for GLiCID"
|
||||
authors = ["Benoit Seignovert <benoit.seignovert@univ-nantes.fr>"]
|
||||
license = "BSD 3-Clause License"
|
||||
readme = "README.md"
|
||||
repository = "https://gitlab.univ-nantes.fr/glicid/jupyter/spawner"
|
||||
packages = [{ include = "glicid_spawner", from = "src"}]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
jupyterhub = "^4.0"
|
||||
batchspawner = {git = "https://github.com/jupyterhub/batchspawner.git", rev = "main"}
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pre-commit = "^3.6.0"
|
||||
pytest = "^8.0.0"
|
||||
ruff = "^0.1.14"
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"F", # Pyflakes
|
||||
"E", # pycodestyle
|
||||
"W", # pycodestyle
|
||||
"PL", # Pylint
|
||||
"I", # isort
|
||||
"N", # pep8-naming
|
||||
"C90", # mccabe
|
||||
"UP", # pyupgrade
|
||||
"S", # flake8-bandit
|
||||
"A", # flake8-builtins
|
||||
"B", # flake8-bugbear
|
||||
"SIM", # flake8-simplify
|
||||
"COM", # flake8-commas
|
||||
"C4", # flake8-comprehensions
|
||||
"T20", # flake8-print
|
||||
"Q", # flake8-quotes
|
||||
"RSE", # flake8-raise
|
||||
"RET", # flake8-return
|
||||
]
|
||||
ignore = ["COM812"] # disable ruff format warning
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "single"
|
||||
|
||||
[tool.ruff.lint.flake8-quotes]
|
||||
inline-quotes = "single"
|
||||
docstring-quotes = "double"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
Loading…
Add table
Add a link
Reference in a new issue