Skip to content

Commit

Permalink
fix: rm deprecated vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
oedokumaci committed Jan 10, 2024
1 parent 211c8f6 commit b945319
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions template_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ def generate_vscode_settings() -> None:
file.touch()
settings = f"""
{{
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": ["--max-line-length=88", "--select=C,E,F,W,B", "--extend-ignore=B009,E203,E501,W503"],
"flake8.args": ["--max-line-length=88", "--select=C,E,F,W,B", "--extend-ignore=B009,E203,E501,W503"],
"python.autoComplete.extraPaths": [".venv/lib/python{PYTHON_VER}/site-packages"],
"python.analysis.extraPaths": [".venv/lib/python{PYTHON_VER}/site-packages"],
"python.testing.pytestPath": ".venv/bin/pytest"
Expand Down Expand Up @@ -192,8 +189,8 @@ def main() -> int:
# Run pdm init
add_dependencies_using_pdm()

# Generate .vscode/settings.json
generate_vscode_settings()
# # Generate .vscode/settings.json
# generate_vscode_settings()

# Remove template setup file
try:
Expand Down

0 comments on commit b945319

Please sign in to comment.