Advent of Code 2022
my answers
Development occurs in language-specific directories:
Development occurs in language-specific directories:
Bumps isort from 5.10.1 to 5.11.1.
Sourced from isort's releases.
5.11.1
Changes December 12 2022
:beetle: Fixes
- Only call
colorama.init
ifcolorama
is available (#2032)@tomaarsen
5.11.0
Changes December 12 2022
- Add support to Python 3.11 support (#2024)
@staticdev
- Remove support to Python 3.6 (#2020)
@barrelful
- Remove restriction to Python <4.0 (#1878)
@staticdev
- Remove language_version for pre-commit hook (#1987)
@rafrafek
- Add GH release helpers (#2023)
@staticdev
- Fix integration tests (#2022)
@staticdev
- Fix unit tests (#2021)
@staticdev
- Fix Rich compatibility (#1961)
@ofek
- Fix Pyodide CDN URL (#1991)
@andersk
- Clarify description of use_parentheses (#1941)
@mgedmin
- Fix
black
compatibility for.pyi
type stub files (#2017)@XuehaiPan
- Add magic trailing comma option (#1876)
@legau
- Add missing space in unrecoverable exception message (#1933)
@andersk
- skip-gitignore: use allow list, not deny list (#1900)
@bmalehorn
- Infinite loop for unmatched parenthesis (#1919)
@anirudnits
- Document shared profiles (#1896)
@matthewhughes934
- Fix build-backend values in the example plugins (#1892)
@mgorny
- Remove reference to jamescurtin/isort-action (#1885)
@AndrewLane
- Split long cython import lines (#1931)
@davidcollins001
- Update plone profile: copy of black, plus three settings. (#1926)
@mauritsvanrees
- Add a command-line flag to sort all re-exports (#1862) (#1863)
@parafoxia
- Fix lines_before_imports appending lines after comments (#1861)
@legau
- Remove redundant
multi_line_output = 3
from "Compatibility with black" (#1858)@jdufresne
- Add tox config example (#1856)
@umonaca
- doc: Add examples for frozenset and tuple settings (#1822)
@sgaist
- Add multiple config documentation (#1850)
@anirudnits
:construction_worker: Continuous Integration
- Pin versions on workflows (#2025)
@staticdev
:package: Dependencies
- Bump certifi from 2021.10.8 to 2022.12.7 (#2018)
@dependabot
- Bump ipython from 7.16.2 to 7.16.3 (#1886)
@dependabot
Sourced from isort's changelog.
5.11.1 December 12 2022
- Hotfix #2031: only call
colorama.init
ifcolorama
is available (#2032)@tomaarsen
5.11.0 December 12 2022
- Added official support for Python 3.11 (#1996, #2008, #2011)
@staticdev
- Dropped support for Python 3.6 (#2019)
@barrelful
- Fixed problematic tests (#2021, #2022)
@staticdev
- Fixed #1960: Rich compatibility (#1961)
@ofek
- Fixed #1945, #1986: Python 4.0 upper bound dependency resolving issues
@staticdev
- Fixed Pyodide CDN URL (#1991)
@andersk
- Docs: clarify description of use_parentheses (#1941)
@mgedmin
- Fixed #1976:
black
compatibility for.pyi
files@XuehaiPan
- Implemented #1683: magic trailing comma option (#1876)
@legau
- Add missing space in unrecoverable exception message (#1933)
@andersk
- Fixed #1895: skip-gitignore: use allow list, not deny list
@bmalehorn
- Fixed #1917: infinite loop for unmatched parenthesis (#1919)
@anirudnits
- Docs: shared profiles (#1896)
@matthewhughes934
- Fixed build-backend values in the example plugins (#1892)
@mgorny
- Remove reference to jamescurtin/isort-action (#1885)
@AndrewLane
- Split long cython import lines (#1931)
@davidcollins001
- Update plone profile: copy of
black
, plus three settings. (#1926)@mauritsvanrees
- Fixed #1815, #1862: Add a command-line flag to sort all re-exports (#1863)
@parafoxia
- Fixed #1854:
lines_before_imports
appending lines after comments (#1861)@legau
- Remove redundant
multi_line_output = 3
from "Compatibility with black" (#1858)@jdufresne
- Add tox config example (#1856)
@umonaca
- Docs: add examples for frozenset and tuple settings (#1822)
@sgaist
- Docs: add multiple config documentation (#1850)
@anirudnits
f8146c5
Merge pull request #2033 from PyCQA/hotfix/5.11.1dd01cfe
Hotfix 5.11.168f0a25
Merge pull request #2032 from tomaarsen/hotfix/colorama_nameerrorc752a6c
Only call colorama.init if colorama is available6525008
Merge pull request #2030 from PyCQA/example/update-formatting-pluging-isort-5...6c5a36c
Bump formatting plugin to 0.1.1657ed81
Merge pull request #2029 from PyCQA/example/update-formatting-pluging-isort-5...84e3687
Update isort on formatting pluging to 5.11.03e99c22
Merge pull request #2028 from PyCQA/prepare-release-5.11.08af078c
Upgrade poetry to 1.3.1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps black from 22.10.0 to 22.12.0.
Sourced from black's releases.
22.12.0
Preview style
- Enforce empty lines before classes and functions with sticky leading comments (#3302)
- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348)
- Implicitly concatenated strings used as function args are now wrapped inside parentheses (#3307)
- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370)
Configuration
- Fix incorrectly applied
.gitignore
rules by considering the.gitignore
location and the relative path to the target file (#3338)- Fix incorrectly ignoring
.gitignore
presence when more than one source directory is specified (#3336)Parser
- Parsing support has been added for walruses inside generator expression that are passed as function args (for example,
any(match := my_re.match(text) for text in texts)
) (#3327).Integrations
- Vim plugin: Optionally allow using the system installation of Black via
let g:black_use_virtualenv = 0
(#3309)
Sourced from black's changelog.
22.12.0
Preview style
- Enforce empty lines before classes and functions with sticky leading comments (#3302)
- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348)
- Implicitly concatenated strings used as function args are now wrapped inside parentheses (#3307)
- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370)
Configuration
- Fix incorrectly applied
.gitignore
rules by considering the.gitignore
location and the relative path to the target file (#3338)- Fix incorrectly ignoring
.gitignore
presence when more than one source directory is specified (#3336)Parser
- Parsing support has been added for walruses inside generator expression that are passed as function args (for example,
any(match := my_re.match(text) for text in texts)
) (#3327).Integrations
- Vim plugin: Optionally allow using the system installation of Black via
let g:black_use_virtualenv = 0
(#3309)
2ddea29
Prepare release 22.12.0 (#3413)5b1443a
release: skip bad macos wheels for now (#3411)9ace064
Bump peter-evans/find-comment from 2.0.1 to 2.1.0 (#3404)19c5fe4
Fix CI with latest flake8-bugbear (#3412)d4a8564
Bump sphinx-copybutton from 0.5.0 to 0.5.1 in /docs (#3390)2793249
Wordsmith current_style.md (#3383)d97b789
Remove whitespaces of whitespace-only files (#3348)c23a5c1
Clarify that Black runs with --safe by default (#3378)8091b25
Correctly handle trailing commas that are inside a line's leading non-nested ...ffaaf48
Compare each .gitignore found with an appropiate relative path (#3338)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps isort from 5.11.3 to 5.11.4.
Sourced from isort's releases.
5.11.4
Changes
- Remove obsolete
toml
import from the test suite (#1978)@mgorny
- Stop installing documentation files to top-level site-packages (#2057)
@mgorny
- Only run release workflows for upstream (#2052)
@hugovk
:package: Dependencies
- Bump Poetry 1.3.1 (#2058)
@staticdev
98390f5
Merge pull request #2059 from PyCQA/version/5.11.4df69a05
Bump version 5.11.4f9add58
Merge pull request #2058 from PyCQA/deps/poetry-1.3.136caa91
Bump Poetry 1.3.13c2e2d0
Merge pull request #1978 from mgorny/toml-test45d6abd
Remove obsolete toml
import from the test suite3020e0b
Merge pull request #2057 from mgorny/poetry-installa6fdbfd
Stop installing documentation files to top-level site-packagesff306f8
Fix tag template to match old standard227c4ae
Merge pull request #2052 from hugovk/mainDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps pylint from 2.15.8 to 2.15.9.
1ded4d0
Bump pylint to 2.15.9, update changelog (#7952)785c629
[testutil] More information in output for functional test fail (#7948)3c3ab98
[pypy3.8] Disable multiple-statements false positive on affected functional t...dca3940
Fix inconsistent argument exit code when argparse exit with its own error cod...494e514
Fix ModuleNotFoundError when using pylint_django (#7940) (#7941)83668de
fix: bump dill to >= 0.3.6, prevents tests hanging with python3.11 (#7918)eadc308
[github actions] Fix enchant's install in the spelling job391323e
Avoid hanging forever after a parallel job was killed (#7834) (#7930)4655b92
Prevent used-before-assignment
in pattern matching with a guard (#7922) (#7...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps isort from 5.10.1 to 5.11.2.
Sourced from isort's releases.
5.11.2
Changes
5.11.1
Changes December 12 2022
:beetle: Fixes
- Only call
colorama.init
ifcolorama
is available (#2032)@tomaarsen
5.11.0
Changes December 12 2022
- Add support to Python 3.11 support (#2024)
@staticdev
- Remove support to Python 3.6 (#2020)
@barrelful
- Remove restriction to Python <4.0 (#1878)
@staticdev
- Remove language_version for pre-commit hook (#1987)
@rafrafek
- Add GH release helpers (#2023)
@staticdev
- Fix integration tests (#2022)
@staticdev
- Fix unit tests (#2021)
@staticdev
- Fix Rich compatibility (#1961)
@ofek
- Fix Pyodide CDN URL (#1991)
@andersk
- Clarify description of use_parentheses (#1941)
@mgedmin
- Fix
black
compatibility for.pyi
type stub files (#2017)@XuehaiPan
- Add magic trailing comma option (#1876)
@legau
- Add missing space in unrecoverable exception message (#1933)
@andersk
- skip-gitignore: use allow list, not deny list (#1900)
@bmalehorn
- Infinite loop for unmatched parenthesis (#1919)
@anirudnits
- Document shared profiles (#1896)
@matthewhughes934
- Fix build-backend values in the example plugins (#1892)
@mgorny
- Remove reference to jamescurtin/isort-action (#1885)
@AndrewLane
- Split long cython import lines (#1931)
@davidcollins001
- Update plone profile: copy of black, plus three settings. (#1926)
@mauritsvanrees
- Add a command-line flag to sort all re-exports (#1862) (#1863)
@parafoxia
- Fix lines_before_imports appending lines after comments (#1861)
@legau
- Remove redundant
multi_line_output = 3
from "Compatibility with black" (#1858)@jdufresne
- Add tox config example (#1856)
@umonaca
- doc: Add examples for frozenset and tuple settings (#1822)
@sgaist
- Add multiple config documentation (#1850)
@anirudnits
:construction_worker: Continuous Integration
- Pin versions on workflows (#2025)
@staticdev
:package: Dependencies
- Bump certifi from 2021.10.8 to 2022.12.7 (#2018)
@dependabot
- Bump ipython from 7.16.2 to 7.16.3 (#1886)
@dependabot
Sourced from isort's changelog.
5.11.2 December 12 2022
- Hotfix #2034: isort --version is not accurate on 5.11.x releases (#2034)
@gschaffner
5.11.1 December 12 2022
- Hotfix #2031: only call
colorama.init
ifcolorama
is available (#2032)@tomaarsen
5.11.0 December 12 2022
- Added official support for Python 3.11 (#1996, #2008, #2011)
@staticdev
- Dropped support for Python 3.6 (#2019)
@barrelful
- Fixed problematic tests (#2021, #2022)
@staticdev
- Fixed #1960: Rich compatibility (#1961)
@ofek
- Fixed #1945, #1986: Python 4.0 upper bound dependency resolving issues
@staticdev
- Fixed Pyodide CDN URL (#1991)
@andersk
- Docs: clarify description of use_parentheses (#1941)
@mgedmin
- Fixed #1976:
black
compatibility for.pyi
files@XuehaiPan
- Implemented #1683: magic trailing comma option (#1876)
@legau
- Add missing space in unrecoverable exception message (#1933)
@andersk
- Fixed #1895: skip-gitignore: use allow list, not deny list
@bmalehorn
- Fixed #1917: infinite loop for unmatched parenthesis (#1919)
@anirudnits
- Docs: shared profiles (#1896)
@matthewhughes934
- Fixed build-backend values in the example plugins (#1892)
@mgorny
- Remove reference to jamescurtin/isort-action (#1885)
@AndrewLane
- Split long cython import lines (#1931)
@davidcollins001
- Update plone profile: copy of
black
, plus three settings. (#1926)@mauritsvanrees
- Fixed #1815, #1862: Add a command-line flag to sort all re-exports (#1863)
@parafoxia
- Fixed #1854:
lines_before_imports
appending lines after comments (#1861)@legau
- Remove redundant
multi_line_output = 3
from "Compatibility with black" (#1858)@jdufresne
- Add tox config example (#1856)
@umonaca
- Docs: add examples for frozenset and tuple settings (#1822)
@sgaist
- Docs: add multiple config documentation (#1850)
@anirudnits
7eaab8c
Merge pull request #2036 from PyCQA/feature/5.11.2-version-bump112eb30
Update version to 5.11.2e64306d
Merge pull request #2035 from felixxm/version-bumpb418718
Bump version to 5.11.1.f8146c5
Merge pull request #2033 from PyCQA/hotfix/5.11.1dd01cfe
Hotfix 5.11.168f0a25
Merge pull request #2032 from tomaarsen/hotfix/colorama_nameerrorc752a6c
Only call colorama.init if colorama is available6525008
Merge pull request #2030 from PyCQA/example/update-formatting-pluging-isort-5...6c5a36c
Bump formatting plugin to 0.1.1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps pylint from 2.15.7 to 2.15.8.
1f84ed9
Bump pylint to 2.15.8, update changelog (#7899)6178e41
Define Protocol as abstract to prevent abstract-method FP (#7839) (#7879)438025d
add test and expl for line-too-long useless-supp FP (#7887)19c0534
Fix missing-param-doc
for escaped underscores (#7878)e1856b2
[github actions] Reinstate tests and check on maintenance branch5fb17e0
multiple-statements
no longer triggers for function stubs using inlined `...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)?? advent-of-code-2022 Overview This repository contains my solutions to Advent of Code 2022. I decided to take this year as an opportunity to learn R
Advent of Code 2022 ?? | -+- A /=\ /\ /\ ___ _ __ _ __ __ __ i/ O \i / \/
Solutions to Advent of Code 2022 puzzles
Advent of Code 2022 My solutions for Advent of Code 2022, written in Rust. This repository provides a good template for anyone interested in writing t
Template largely copied from RikvanToor/aoc-rust-template, upgraded for clap v4. This template can be forked/cloned from beeb/aoc-rust. Usage First, f
Advent of Code 2022 in Rust ??
?? Advent of Code 2022 Solutions for Advent of Code in Rust. 2022 Results Day Part 1 Part 2 Day 1 ⭐ ⭐ Day 2 ⭐ ⭐ Day 3 ⭐ ⭐ Day 4 ⭐ ⭐ Day 5 ⭐ ⭐ Day 6 ⭐
Advent of Code 2022 My solutions to Advent of Code 2022, written in Rust. I love seeing the variety of solution other people come up with, so I decide
AdventOfCode2022 ?? Solutions to AoC 2022 in Rust ?? Usage cargo run --release --bin DAY # run a specific day cargo run --release # run all
?? Advent of Code This repository contains my solutions to the Advent of Code puzzles. Every year, I will try to solve the puzzles in a different lang
Advent of Code 2022: 15/25 langs I’ll try to solve this Advent of Code using different language for each day. Any programs needed to run the code will
advent-of-code-2022 This repository contains my Advent of Code solutions for 2022. I am doing them in Ruby, Crystal, and Rust, and as I release each d
Advent of Code 2022 This year, I will be attempting Advent of Code with Rust, a language I have never learned before. I will also be taking some notes
Advent of Code 2022 in Rust My Advent of Code 2022 solutions in the Rust programming language. This repository holds a separate Rust project for each
Advent of Code 2022 My solutions to problems in 2022 edition of Advent of Code, written in Rust. How to use this repo: The best way to see how solutio
AoC 2022 My solutions for the 2022 edition of Advent of Code in Rust. Simply run cargo run --release --bin dayXX to solve. Some days require z3, insta
Rust advent ?? ?? Learning Rust by implementing solutions for Advent of Code problems. ?? HEY, we are live-streaming our attempts to solve the exercis
aoc-2022 Warning Spoiler Alert! If you want to solve the aoc problems on your own, do not read any further. This repository contains solutions for the
Advent of Code 2020: Мade with Rust When I was solving puzzles, my goal was to practice writing idiomatic Rust. My solutions do not claim to be the fa