James Braza

Results 264 issues of James Braza

This code, with `netgraph==4.13.2` and `matplotlib==3.9.0`: ```python from netgraph import Graph import matplotlib.pyplot as plt edges = [("in", "out"), ("out", "in")] edge_labels = { ("in", "out"): 3, ("out", "in"): 5,...

enhancement

I just gave `monkeytype==23.3.0` a whirl on one of my repos. I found that the top thing it lacks (aka the place it makes the most mistakes) revolves around [`typing.Self`](https://docs.python.org/3/library/typing.html#typing.Self),...

As of `monkeytype==23.3.0` there is no mention of `pytest` in the docs: It would be nice to add an FAQ on how to use `monkeytype` with `pytest`, for new users....

### Overview It would be nice to have a docs section on setting up caching with GitHub Actions. Caching significantly speeds up` refurb` ### Proposal A little YAML example showing...

enhancement

### Overview It turns out with Python 3.10+ that `isinstance` ([docs](https://docs.python.org/3/library/functions.html#isinstance)) supports union syntax: ```python isinstance(5, (int, str)) isinstance(5, int | str) # New in Python 3.10 ``` ### Proposal...

enhancement

### Overview With Refurb v2 and Pydantic v2, `FURB120` does not apply to Pydantic fields: ```python from pydantic import BaseModel def foo(arg: int = 1) -> None: pass class Bar(BaseModel):...

enhancement

### Has your issue already been fixed? - [X] Have you checked to see if your issue still exists on the `master` branch? See [the docs](https://github.com/dosisod/refurb#developing) for instructions on how...

bug

### Overview Firstly, hope all is well! I have successfully adopted `refurb>=2` and it's working great. So excellent work with the v2 major bump. --- I would like to request...

enhancement

Hello! I have a tool that "un-inlines" comments in a TOML list like so (coming from https://github.com/astral-sh/rye/issues/1255#issue-2421079857): ```diff foo = [ --- "a", # Comment +++ "a", +++ # Comment...

* **I'm submitting a ...** - [x] bug report - [ ] feature request * **What is the current behavior?** 1. `pip install detect-secrets[word_list]==1.5.0` 2. Make an empty file `.secrets.allowlist`...