Iaroslav Russkykh
Iaroslav Russkykh
OS: Ubuntu 16.04 Browser: Chrome 62.0.3202.75 (Official Build) (64-bit) Version: Hypothesis - Web & PDF Annotation 1.48.0.0 (Official Build) Steps to reproduce: Open any google [doc](https://docs.google.com/document/d/1G3Ieq0XEfkn42QiObXPpEDYC_PL1SDWZPFDSWfuQGhw/edit) and try to annotate...
```python # foo/__init__.py import attr @attr.s class A(object): x = attr.ib(default=1) y = attr.ib() @y.default def _any_name_except_a_name_of_an_attribute(self): return self.x + 1 @attr.s(auto_attribs=True) class B(object): x: int = 1 y: int...
fake_tz.py: ```python from datetime import datetime import sys import arrow import freezegun from freezegun import freeze_time import pytz from tzlocal import get_localzone def print_dt(tmpl="freeze_time({})"): print("Results for: " + tmpl.format(d)) print("Naive...
Подробней о проблеме https://unix.stackexchange.com/a/23702/204020 В Python это типичная задача, активировать окружение и потом запускать в нем тесты/приложение. Без дополнительных танцев с бубном работать естественно не будет. По этому мне кажется...
Для тех кто только знакомится с `make` может оказаться неожиданным, что по умолчанию вызывается `/bin/sh` а не bash и надо явно прописывать `SHELL = /bin/bash` если в рецептах используется `bash`...
Hi. Thank you for this great " Hypermodern Python" series. With setup like this: ``` # pyproject.toml ... [tool.poetry.dependencies] # project deps ... python = "=3.7" # dev deps black...
As I understand you plan to update your series, may be it will be good if you'll mention about the [auditwheel](https://github.com/pypa/auditwheel) project. Many interesting details can be found [here](https://hashman.ca/pycon-2019/ehashman-pycon2019-slides.pdf)
http://www.dougalmatthews.com/2016/Sep/01/automate-publishing-to-pypi-with-pbr-and-travis/