Adam Johnson

Results 318 issues of Adam Johnson
trafficstars

Given this `example.py`: ```python import __future__ print(__future__.all_feature_names) ``` Run `isort` with `--add-import` and a future import: ``` $ isort --add-import 'from __future__ import annotations' example.py Fixing /Users/chainz/tmp/example.py ``` …gives: ```python...

bug
help wanted

Hi! Thank you for a wonderful tool. I am trying it out as an alternative to Prettier (and wrapper!), and enjoying it. I use the [pre-commit](https://pre-commit.com/) framework to run tools...

documentation
enhancement

Take the below example file: ```python from PyPDF2 import PdfReader with open("example.pdf", "rb") as fp: reader = PdfReader(fp) metadata = reader.metadata assert metadata is not None date_str = metadata["/CreationDate"] date_str...

As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on...

As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on...

A few changes: 1. Switch from `multiprocessing` to `concurrent.futures` with `ProcessPoolExecutor`. This is just to make the code easier to work with. 2. Perform `check_file()` as results return to the...

## Is your feature request related to a problem? Please describe. I don't understand the statement "Element attributes are partially matched by default." Does it mean `attrs={"id": "foo"}` will match...

## Is your feature request related to a problem? Please describe. I'd like to use `gazpacho` for testing the HTML output of my Django application. A natural way to do...

**Is your feature request related to a problem? Please describe.** Only certain "mode" strings are accepted to `Soup.find()`, and underneath that, `Soup._triage()`. The type annotation `str` allows typos through for...

[PEP 8 states](https://www.python.org/dev/peps/pep-0008/#package-and-module-names): > Modules should have short, all-lowercase names. pycodestyle could check the passed filenames are lowercase to help enforce this.

enhancement
needs patch