Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
HomeAssistant
Core
Commits
53c51c92
Unverified
Commit
53c51c92
authored
2 years ago
by
Marc Mueller
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Uninstall pre-installed tools from devcontainer (#79765)
parent
bba7b3b2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.devcontainer/devcontainer.json
+7
-1
7 additions, 1 deletion
.devcontainer/devcontainer.json
Dockerfile.dev
+9
-0
9 additions, 0 deletions
Dockerfile.dev
with
16 additions
and
1 deletion
.devcontainer/devcontainer.json
+
7
−
1
View file @
53c51c92
...
...
@@ -17,8 +17,14 @@
//
Please
keep
this
file
in
sync
with
settings
in
home-assistant/.vscode/settings.default.json
"settings"
:
{
"python.pythonPath"
:
"/usr/local/bin/python"
,
"python.linting.pylintEnabled"
:
true
,
"python.linting.enabled"
:
true
,
"python.linting.pylintEnabled"
:
true
,
"python.formatting.blackPath"
:
"/usr/local/bin/black"
,
"python.linting.flake8Path"
:
"/usr/local/bin/flake8"
,
"python.linting.pycodestylePath"
:
"/usr/local/bin/pycodestyle"
,
"python.linting.pydocstylePath"
:
"/usr/local/bin/pydocstyle"
,
"python.linting.mypyPath"
:
"/usr/local/bin/mypy"
,
"python.linting.pylintPath"
:
"/usr/local/bin/pylint"
,
"python.formatting.provider"
:
"black"
,
"python.testing.pytestArgs"
:
[
"--no-cov"
],
"editor.formatOnPaste"
:
false
,
...
...
This diff is collapsed.
Click to expand it.
Dockerfile.dev
+
9
−
0
View file @
53c51c92
...
...
@@ -2,6 +2,15 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.9
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Uninstall pre-installed formatting and linting tools
# They would conflict with our pinned versions
RUN pipx uninstall black
RUN pipx uninstall flake8
RUN pipx uninstall pydocstyle
RUN pipx uninstall pycodestyle
RUN pipx uninstall mypy
RUN pipx uninstall pylint
RUN \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& apt-get update \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment