Skip to content

Commit

Permalink
Devcontainer tooling improvements (mlflow#12511)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Giannuzzi <[email protected]>
Signed-off-by: Ben Wilson <[email protected]>
Co-authored-by: Ben Wilson <[email protected]>
  • Loading branch information
jgiannuzzi and BenWilson2 authored Oct 3, 2024
1 parent 63ca2de commit 73a64db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile.devcontainer
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | s
RUN curl https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-1-${TARGETPLATFORM#*/}.deb -L -o /tmp/pandoc.deb \
&& sudo dpkg -i /tmp/pandoc.deb \
&& rm /tmp/pandoc.deb

# Install taplo
RUN npm install -g @taplo/cli
12 changes: 9 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@
"editor.rulers": [80, 100],
"editor.formatOnSave": true,
"editor.formatOnSaveTimeout": 5000,
"git.alwaysSignOff": true,
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.analysis.autoImportCompletions": false,
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff"
},
"python.formatting.provider": "none",
"prettier.prettierPath": "/workspaces/mlflow/mlflow/server/js/node_modules/prettier",
Expand All @@ -35,9 +39,11 @@
"ms-python.python",
"ms-toolsai.jupyter",
"oderwat.indent-rainbow",
"pbkit.vscode-pbkit",
"PKief.material-icon-theme",
"ritwickdey.LiveServer",
"shardulm94.trailing-spaces"
"shardulm94.trailing-spaces",
"tamasfe.even-better-toml"
]
}
}
Expand Down

0 comments on commit 73a64db

Please sign in to comment.