Jonas Kittner

Results 12 issues of Jonas Kittner

### reproduction ```bash echo -e '\x00' > bytes.txt && babi bytes.txt ``` Traceback: ```console Traceback (most recent call last): File "/tmp/venv/bin/babi", line 8, in sys.exit(main()) File "/tmp/venv/lib/python3.10/site-packages/babi/main.py", line 176, in...

Hi, I tried implementing an automatic `tabsize` detection when opening a file. - I added a few test cases for the tabsize detection - I had to modify the `test_dedent_selection`...

### How do you use Sentry? Sentry Saas (sentry.io) ### Version sentry-sdk==1.7.2 ### Steps to Reproduce The minimal reproduction is unfortunately still a bit bulky. For faster and easier reproduction,...

bug
question
Status: Backlog
Hacktoberfest 🎃

When using `flask_wtf.file.FileAllowed` to validate that a file has the correct file extension, a file named `'.ext'` is seen as having the correct file extension. For me this behavior was...

### description when using `pytest.approx` on nested data structures I'd expect it to raise an exception also for mixed data type containers like a `tuple` in a `list`. So far...

topic: approx

sorry - I missclicked and submitted the issue too early. this reproduces it ```md ![caption a](coolfiga.png){#fig:cfa width=30%} ![caption b](coolfigf.png){#fig:cfb} Cool figure! ![caption a](coolfiga.png){#fig:nfa width=30%} ![caption b](coolfigf.png){#fig:nfb} Nice figure! reference cool...

**Is your feature request related to a problem? Please describe.** When trying to run the `shell/lint.sh` and `shell/format.sh` commands, I ran into a bunch of issues, with tools missing, isort...

This adds a validator for date(-time) range similar to `NumberRange` for `DateField` one could use: ```python DateRange(min=date(2023, 1, 1), max=date(2023, 12, 31)) ``` for `DateTimeLocalField` one could use: ```python DateRange(min=datetime(2023,...

enhancement

As far as I can see, `choices` of a `SelectField` also support an Iterable of just a `str`s, not only a `tuple[Any, str]`. ```python SelectField(choices=["foo", "bar"]) ``` This is apparently...

just saw CI failing - it's due to numpy 2.0 being released. The tests are failing because of: https://github.com/rasterio/rasterio/pull/3109 we have to wait until this is fixed or pin numpy