[tool.poetry] name = "glicid-spawner" version = "0.0.1" description = "JupyterHub Batch Spawner for GLiCID" authors = ["Benoit Seignovert "] 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.plugins."jupyterhub.spawners"] glicid-spawner = 'glicid_spawner:GlicidSpawner' [tool.poetry.dependencies] python = "^3.10" jupyterhub = "^4.0" batchspawner = {git = "https://github.com/jupyterhub/batchspawner.git", rev = "main"} jinja2 = "^3.1.3" [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 "E501", # disable ruff line-too-long error ] [tool.ruff.format] quote-style = "single" [tool.ruff.lint.flake8-quotes] inline-quotes = "single" docstring-quotes = "double" [tool.ruff.lint.pydocstyle] convention = "numpy" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"