gauravguptatiger / mle-training

0 stars 0 forks source link

mle-training_A1.4 #5

Open gauravguptatiger opened 9 months ago

gauravguptatiger commented 9 months ago

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.

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)

  1. Create a new branch off of the git tag v0.1 and call it fix/<issue-id>/vscode-refactor.
  2. 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.
  3. Fix the problems highlighted in VSCode until it indicates there are no problems with the script.
  4. 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.