Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
test: updated the generated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
negar-abbasi committed Nov 23, 2023
1 parent bf5fadb commit f181129
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
2 changes: 1 addition & 1 deletion tests_generated/test_ide_vscode-True/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
"ruff.enable": false,
"ruff.enable": true,
"ruff.lint.run": "onSave",
"ruff.lint.args": ["--config=pyproject.toml"],
Expand Down
1 change: 1 addition & 0 deletions tests_generated/test_preset_name-production/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
line-length = 120
select = ["E", "F", "ANN", "UP", "N", "C4", "B", "A", "YTT", "W", "FBT", "Q", "RUF", "I"]
ignore = [
"ANN101", # no type for self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
"ruff.enable": false,
"flake8.enable": true,
"flake8.importStrategy": "fromEnvironment",
"flake8.args": ["--config=.flake8"]
"flake8.args": ["--config=.flake8"],

// On Windows, if execution policy is set to Signed (default) then it won't be able to activate the venv
// so instead let's set it to RemoteSigned for VS Code terminal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
"ruff.enable": false,
"ruff.enable": true,
"ruff.lint.run": "onSave",
"ruff.lint.args": ["--config=pyproject.toml"],
Expand Down
1 change: 1 addition & 0 deletions tests_generated/test_python_linter-ruff/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
line-length = 120
select = ["E", "F", "ANN", "UP", "N", "C4", "B", "A", "YTT", "W", "FBT", "Q", "RUF", "I"]
ignore = [
"ANN101", # no type for self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
"ruff.enable": false,
"ruff.enable": true,
"ruff.lint.run": "onSave",
"ruff.lint.args": ["--config=pyproject.toml"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
line-length = 120
select = ["E", "F", "ANN", "UP", "N", "C4", "B", "A", "YTT", "W", "FBT", "Q", "RUF", "I"]
ignore = [
"ANN101", # no type for self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
"ruff.enable": false,
"ruff.enable": true,
"ruff.lint.run": "onSave",
"ruff.lint.args": ["--config=pyproject.toml"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
line-length = 120
select = ["E", "F", "ANN", "UP", "N", "C4", "B", "A", "YTT", "W", "FBT", "Q", "RUF", "I"]
ignore = [
"ANN101", # no type for self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Prevent default import sorting from running; Ruff will sort imports for us anyway
"source.organizeImports": false
},
"editor.defaultFormatter": "ms-python.python",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": ["--config=pyproject.toml"],
"python.testing.pytestEnabled": true,
Expand Down

0 comments on commit f181129

Please sign in to comment.