So far we have looked at working from the command line. In this assignment, you will install an IDE and configure it to work well with Python and your development environment.
[x] Create a GitHub issue for the current assignment and add in the details based on what is requested in this assignment and assign it to yourself.
Ensure the following tools are configured in your user settings.
Linter: use flake8
Sorted Imports: use isort
Auto-formatter: use black
Python code defaults: 4 spaces for tab, remove trailing whitespaces
Python Path
Run auto-formatter and sort imports everytime the file is saved.
Custom parameters to the code-formatting tools (if needed)
[x] Create a PR with the auto-formatted code.
Create a new branch off of the git tag v0.1 and call it fix/<issue-id>/vscode-refactor.
Open the nonstandard_code.py script into VSCode and save it again (add an empty space and delete it to ensure VSCode considers the file to have changed) and ensure it automatically formats the script on save.
Fix the problems highlighted in VSCode until it indicates there are no problems with the script.
Create a PR from the new branch and share your VSCode workspace settings in the PR. Ensure the JSON content (workspace settings) is properly formatted using GitHub markdown.
[x] Fix any merge conflicts
[x] Submit the Github PR url as part of the submission. The PR description should contain reference to the GitHub issue and a well formatted rendering of the VSCODE workspace settings.
So far we have looked at working from the command line. In this assignment, you will install an IDE and configure it to work well with Python and your development environment.
[x] Create a GitHub issue for the current assignment and add in the details based on what is requested in this assignment and assign it to yourself.
[x] Install VSCode and configure it for for python development See https://code.visualstudio.com/docs/languages/python
[x] Install the following plugins:
Python
Remote-WSL
Git lens
[x] Configure VSCode for Python development
Ensure the following tools are configured in your user settings. Linter: use flake8 Sorted Imports: use isort Auto-formatter: use black Python code defaults: 4 spaces for tab, remove trailing whitespaces
Python Path Run auto-formatter and sort imports everytime the file is saved. Custom parameters to the code-formatting tools (if needed)
v0.1
and call itfix/<issue-id>/vscode-refactor
.nonstandard_code.py
script into VSCode and save it again (add an empty space and delete it to ensure VSCode considers the file to have changed) and ensure it automatically formats the script on save.[x] Fix any merge conflicts
[x] Submit the Github PR url as part of the submission. The PR description should contain reference to the GitHub issue and a well formatted rendering of the VSCODE workspace settings.