Avram Lubkin

Results 16 issues of Avram Lubkin

While I can see reasons for it, it's counterintuitive that adding 1 to a Byte would make it a float rather than a Byte one increment higher. This limits the...

Enlighten version 1.2.0 introduced an `offset` argument. You should be able to pass that to enlighten.Manager to get the same effect as your workaround. Something like this. ```python manager =...

code quality

### Issue description or question For the following code ``` def elapsed(self): if self.count == self.total: elapsed = self.last_update - self.start else: elapsed = time.time() - self.start return elapsed ```...

enhancement

I assume this has been requested before, but I couldn't find an issue for it. So apologies if this is a duplicate. ### What `tox -e py3.10` should be equivalent...

feature:new
help:wanted

### Current problem I'm currently linting a code base which heavily uses a library that loves mixins raising multiple failures for `too-many-ancestors`. While I can use the `ignored-parents` option to...

Enhancement ✨
Question
Needs decision :lock:

### Current problem Linting a codebase with a lot of `raise Exception()` statements. This is a bad practice as it makes it impossible to write narrow exception clauses. ### Desired...

Enhancement ✨
Help wanted 🙏
Good first issue
Needs PR

### Bug description A little background. The `str` justify methods (`rjust()`, `ljust()`, `center()`) take `SupportsIndex` types for `width` rather than just straight integers, allowing you to use custom types like...

Good first issue
False Positive 🦟
Hacktoberfest

It looks like there are 40 cases where `raise Exception` is used rather than a subclass of `Exception`. This makes it impossible to catch Tbot-specific errors. Ideally, every exception raised...

feature
blocks-tests

**Describe the bug** When running with `tox --parallel auto`, files are missing or empty **To Reproduce** Environment: Python 3.11.2 on Fedora 38, Tox 4.6.1 Tox is installing the latest coverage,...

docs

Seeing some inconsistent behavior in docformatter 1.7.5. Docformatter 1.7.5 (Last successful CI used 1.7.3) CPython 3.11 Example file: https://github.com/jquast/blessed/blob/a34c6b1869b4dd467c6d1ab6895872bb72db7e0f/blessed/terminal.py Docformatter flags the following ``` def rgb_downconvert(self, red, green, blue): """...

P: bug
C: style
U: medium