Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 4.23 KB

File metadata and controls

89 lines (65 loc) · 4.23 KB

Code Challenges

A new collection of my personal solutions to various code challenges.

Setup

This repo implements solutions in Python 3.10+. It's recommended to run and install dependencies from a virtual environment.

After cloning this repo, to install dev dependencies:

make dev

Testing

Tests are setup to run with Pythons builtin unittest library.

make test

Linting

If all is configured correctly linting should happen automatically in the dev container. Future work will include a make recipe.

  • Autoformating is handled with black
  • Linting by pylint
  • Import arrangment by isort

Challenges

Code Wars

Codecademy

LeetCode

edabit

Notes

  • The union | operator to merge dictionaries returning a new was introduced in Python 3.10
  • The walrus := operator was introduced in Python 3.8.

Resources