I hereby claim:
- I am anatoly-scherbakov on github.
- I am homo_yetiensis (https://keybase.io/homo_yetiensis) on keybase.
- I have a public key ASBsAsof7Lc8L9y_3XGt8gxpA9Z8iSepWgQOu0fhav-jTQo
To claim this, I am signing this object:
# Source: | |
# https://github.com/wemake-services/wemake-python-styleguide/blob/master/setup.cfg | |
# All configuration for plugins and other utils is defined here. | |
# Read more about `setup.cfg`: | |
# https://docs.python.org/3/distutils/configfile.html | |
# === Linter configuration === | |
# You can reuse this configuration in your own projects. |
import dataclasses | |
@dataclasses.dataclass(frozen=True) | |
class AgeError(Exception): | |
name: str | |
age: int | |
def __str__(self): | |
return f'{self.name}, your age {self.age} is below minimum. Go play.' |
I hereby claim:
To claim this, I am signing this object:
#!/bin/env python3 | |
import json | |
from pyparsing import ( | |
ParserElement, Literal, Group, restOfLine, | |
ZeroOrMore, LineEnd, CharsNotIn | |
) | |
TEXT = """UNRAR 5.71 freeware Copyright (c) 1993-2019 Alexander Roshal |