Skip to content

Commit

Permalink
Update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCBrammer committed Aug 23, 2024
1 parent 4688536 commit f9bbb69
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
9 changes: 7 additions & 2 deletions .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "TUCAN",
"image": "mcr.microsoft.com/vscode/devcontainers/python:3.11",
"image": "python:3.12-bookworm",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell": true
}
},
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -11,7 +16,7 @@
"ms-python.vscode-pylance",
"KevinRose.vsc-python-indent",
"streetsidesoftware.code-spell-checker",
"bungcip.better-toml",
"tamasfe.even-better-toml",
"eamodio.gitlens",
"GitHub.copilot",
"ms-python.black-formatter",
Expand Down
29 changes: 12 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ build-backend = "flit_core.buildapi"

[project]
name = "tucan"
authors = [{name = "Jan C. Brammer", email = "[email protected]"}]
authors = [{ name = "Jan C. Brammer", email = "[email protected]" }]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
]
dynamic = ["version", "description"]

dependencies = [
Expand All @@ -17,33 +19,26 @@ dependencies = [
"tabulate >=0.9.0",
"types-tabulate >= 0.9.0",
"igraph >=0.10.3",
"antlr4-python3-runtime == 4.11.1"
"antlr4-python3-runtime == 4.11.1",
]

[project.optional-dependencies]
drawing = [
"plotly", # interactive 3D drawings
"plotly", # interactive 3D drawings
"notebook",
"ipywidgets"
]
dev = [
"black",
"flake8",
"pytest",
"syrupy",
"mypy"
"ipywidgets",
]
dev = ["pytest", "syrupy"]


[tool.pytest.ini_options]
minversion = "6.0"
addopts = """
-v
--durations=5"""
testpaths = [
"tests",
]
testpaths = ["tests"]

[tool.black] # https://lyz-code.github.io/blue-book/devops/black/
[tool.black] # https://lyz-code.github.io/blue-book/devops/black/
extend-exclude = 'tucan/parser/tucan.*\.py'

[tool.mypy]
Expand Down

0 comments on commit f9bbb69

Please sign in to comment.