Skip to content

Commit

Permalink
Update golden test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
alunduil committed Feb 17, 2024
1 parent 4ea5db0 commit 120d3bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions styles/config/vocabularies/GitHub/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ output: |
{
"name": "sentinel",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
Expand All @@ -17,21 +16,19 @@ output: |
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/python:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "poetry install",
"postCreateCommand": "poetry install && vale sync",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"settings": {
"python.analysis.typeCheckingMode": "basic",
"python.pythonPath": "${workspaceFolder}/.venv/bin/python",
"python.testing.pytestArgs": [
"--no-cov", "sentinel_test"
"--no-cov",
"sentinel_test"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
Expand All @@ -49,7 +46,6 @@ output: |
]
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "vscode"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ output: |
requires = ["poetry-core"]
[tool.fawltydeps]
ignore_unused = ["coveralls", "pytest-cov", "pytest-xdist"]
ignore_unused = ["coveralls", "pytest-cov", "pytest-xdist", "vale"]
[tool.isort]
profile = "black"
Expand Down Expand Up @@ -42,6 +42,7 @@ output: |
pytest = ">=7.2.0,<9.0.0"
pytest-cov = "^4.0.0"
pytest-golden = "^0.2.2"
vale = "^3.0.7.0"
[tool.poetry.group.test.dependencies.pytest-xdist]
extras = ["psutil"]
Expand Down

0 comments on commit 120d3bb

Please sign in to comment.