Akuli

Results 213 issues of Akuli

**Describe the style change** Replace `(foo)` with `foo` when unpacking, where `foo` is an expression. **Examples in the current _Black_ style** ```python points = [(1, 2), (3, 4)] for (x),...

T: design
F: parentheses
S: accepted

The end of the README says that there's a LICENSE.md somewhere, but I can't find one from the repo. The README also says "please visit \ to obtain a copy...

asdf.c: ```c #include #include void a(void) { long long sum = 0; for (long long i = 0; i

``` sentence = input("Enter a sentence: ") counts = {} for word in sentence.split(): counts[word] = counts.get(word, 0) + 1 two cases: word is not in counts, word is in...

It is saying "these editors are BAD" and listing a bunch of common editors. It's just not a good thing.

`{**dict1, **dict2}` for example is a pretty basic thing, shouldn't be in "advanced" section

`sys.exit()` is defined as: https://github.com/python/typeshed/blob/c68bcc7e69249956f358da7f47028d8fd1f7443e/stdlib/sys.pyi#L224-L225 The argument ends up in the `.code` attribute of a `SystemExit` exception. ```python3 >>> import sys >>> try: sys.exit ... except SystemExit as e: print(repr(e.code))...

A `py.typed` file was just added: https://github.com/afonasev/flake8-plugin-utils/pull/78

removal

Often the return value of a callback function is ignored. In those cases, I have previously used `Callable[[], None]`, but then @srittau told me to use `Callable[[], Any]`, and I...

project-discussion