Skip to content

Commit

Permalink
Revert "build: add pre-commit (#12)"
Browse files Browse the repository at this point in the history
This reverts commit 4de3863.
  • Loading branch information
rokam authored May 24, 2024
1 parent 4de3863 commit 8920bee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 65 deletions.
20 changes: 15 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,33 @@
"dockerfile": "Dockerfile",
"context": "..",
"args": {
// Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"VARIANT": "3.10-bullseye",
"INSTALL_NODE": "false",
// Options
"NODE_VERSION": "lts/*"
}
},
"customizations": {
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"python.formatting.provider": "black",
"python.testing.pytestArgs": ["tests"],
"python.testing.pytestArgs": [
"tests"
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"pylint.args": [],
"pylint.args": [

],
"files.trimTrailingWhitespace": true
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"charliermarsh.ruff",
"ms-python.pylint",
Expand All @@ -33,6 +42,7 @@
]
}
},
"remoteUser": "vscode",
"remoteUser": "root",
"containerUser": "vscode",
"postAttachCommand": ["pip3 install --user -r requirements.txt"]
}
}
60 changes: 0 additions & 60 deletions .pre-commit-config.yaml

This file was deleted.

0 comments on commit 8920bee

Please sign in to comment.