Skip to content

💄🐍 code - linting #38

@arc-teaching

Description

@arc-teaching
  1. Analyse the awesome Charlene's package you've created (Creating a 🐍📦 with ℹ, 👷 and 📚 #37) and run one of the linting tools
    You may need to install them. Which messages did you get? Was your IDE (e.g., VS Code) warning you of it already?

  2. Fix them either manually or automatically using a code formatter (e.g., yapf, black, or ruff)

  3. Can you think of a way of checking the style is checked before merging new contributions? Add your suggestions below 👇.

  4. Share your solution even if it's a work-in-progress as a pull request to Charlene's repository mentioning this issue (by including the text Addresses UCL-COMP0233-25-26/RSE-Classwork#38 in the pull request description), remember to mention your team members too! (with @github_username)


Sample solution with ruff

Metadata

Metadata

Assignees

No one assigned

    Labels

    week07Creating packages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions