Marat Reimers

Results 24 issues of Marat Reimers

Fix #35 In some cases `switch` by enum is too verbose and can be simplified by using `map`. WIth this PR `exhaustive` validates map keys as well. ```go type Enum...

There are places when we need to convert enum to some different value (enum or string, for example). Go's `map` is less verbose than `switch` and is more suitable for...

There is alternative approach how to deal with enums in Go. Example: https://github.com/ThreeDotsLabs/wild-workouts-go-ddd-example/blob/master/internal/trainer/domain/hour/availability.go Article with motivation: https://threedots.tech/post/safer-enums-in-go/. The idea is to use struct with private field and package level variables....

I'd like to use flake8-isort in my project, but I can't because it is extremely slow. Here is a script to reproduce the issue. ```py import os import shutil from...

See https://deps.dev/go/github.com%2Fmaratori%2Ftestpackage

Need to suggest fixes. Fix is a code refactoring, so: 1. It must not break code 2. It should not be suggested, if non-breaking change is not possible For example...

I've found that `Eventually` is not really useful: 1. I can't use assertions inside `condition`. 1. Error message doesn't help to understand failure cause: `Condition never satisfied`. So I use...

:clipboard: **Description** Please add dynamic badge to show number of stars for github gist (not repo). Example: [![GitHub Gist stars](https://img.shields.io/badge/stars-11-white?style=social&logo=github)](https://gist.github.com/maratori/47a4d00457a92aa426dbd48a18776322) :link: **Data** Looks like need to use GraphQL: https://docs.github.com/en/graphql/reference/objects#gist ```graphql...

good first issue
service-badge

I need to run `aiohttp` server and use `playwright` in tests at the same time. Am I right that `pytest-playwright` right now can't help me with that? It provides fixtures...

help wanted
p3-collecting-feedback

### Describe the bug Can't use `wire.Bind` inside `wire.NewSet` without concrete type provider. Wire fails to generate with error ``` wire.Bind of concrete type "..." to interface "...", but mySet...

needs info