https://github.com/franneck94/vscode-python-config
https://github.com/franneck94/vscode-python-config
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/franneck94/vscode-python-config
- Owner: franneck94
- License: mit
- Created: 2023-05-11T09:08:51.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T19:51:35.000Z (about 1 year ago)
- Last Synced: 2024-10-10T19:35:34.082Z (12 months ago)
- Language: TypeScript
- Size: 216 KB
- Stars: 13
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# VSCode Python Config
Creates config files with pre-defined settings for modern Python projects in your VSCode *workspace*.
Files in the workspace's .vscode folder:
- settings.json: Best settings for Python-related extensions
- launch.json: Configurations for debugging your python projects
- tasks.json: Tasks to execute your python projectsPython-specific files in the root directory for any workspace:
- .pre-commit-config.yaml: Tools to run on every git commit
- pyproject.toml: General settings for the linters and formatters
- requirements-dev.txt: Python packages to install for developers (linter, testing etc.)
- requirements.txt: Python packages to install for users (starts as an empty file)General IDE Files in the root directory (*):
- .editorconfig: Standard file settings (line-feed, insert new-line, etc.)
- .gitattributes: Gives attributes to pathnames
- .gitignore: Specifies intentionally untracked files to ignoreFiles for python projects (has a project defined in pyproject.toml or setup.py/cfg) (*):
- .github/workflows/codeql-analysis.yaml
- .github/workflows/documentation.yaml
- .github/workflows/pre-commit.yaml
- .github/workflows/publish.yaml
- .github/workflows/test.yaml
- docs/index.md
- docs/api.md
- LICENSE
- mkdocs.yaml
- README.md(*): These files are not overridden, if already existing.
## How to use
Just run the command 'Generate Python Config Files' in VSCode's command palette.
## Settings
- ⚙️ Line Length: Max. line length for the tools (defaults to 120, Global Setting)
- ⚙️ Is Aggressive: If set to true, mypy, ruff and others will have activated most of its features (defaults to false, Global Setting)
- ⚙️ Python Target Version: Various tools has some features based on the "minimal" python version for that project (defaults to 3.10, Global Setting)
- ⚙️ Formatting tool: The python formatter that should be used, its either
- ruff format (Default)
- black## Release Notes
Refer to the [CHANGELOG](CHANGELOG.md).
## License
Copyright (C) 2021-2024 Jan Schaffranek.
Licensed under the [MIT License](LICENSE).## Supporting the Work
Feel free to donate, such that I have more time to work on my VSCode extension*s*.

Or use the Link: