Content-Length: 305301 | pFad | http://github.com/python/mypy/pull/19073/commits/350fd38923d9a74d829fe5500352cdf2ccdb670c

E0 Improve cli help somewhat by wyattscarpenter · Pull Request #19073 · python/mypy · GitHub
Skip to content

Improve cli help somewhat #19073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
c95306e
failed attempt, very regex-heavy
wyattscarpenter May 9, 2025
5dbb010
ok I mean it works now but it doubles up insertions
wyattscarpenter May 9, 2025
c5c0857
works perfectly
wyattscarpenter May 9, 2025
82eb394
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 9, 2025
15236bd
get the strict flags another way, to make all the tests pass
wyattscarpenter May 9, 2025
4081906
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 9, 2025
b415f0f
generate the strict list in the build dir, so there won't be any funk…
wyattscarpenter May 9, 2025
00580de
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 9, 2025
98bc704
um, I meant srcdir. Sure.
wyattscarpenter May 9, 2025
a546416
bruh
wyattscarpenter May 9, 2025
c044f80
refactor out define_options
wyattscarpenter May 10, 2025
6a47e7d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 10, 2025
9ba2c9b
remove --experimental from dmypy's options after 'a short transition'…
wyattscarpenter May 10, 2025
8087150
move --use-fine-grained-cache to Incremental group
wyattscarpenter May 10, 2025
3a75ee6
create new 'experimental' group, rescuing --enable-incomplete-feature…
wyattscarpenter May 10, 2025
4f1e460
rename Optional arguments to Utility arguments, since all arguments a…
wyattscarpenter May 10, 2025
2a8a8e2
The metavar overrides the default of displaying the choices, so we ha…
wyattscarpenter May 10, 2025
8c61a64
update documentation
wyattscarpenter May 10, 2025
350fd38
update documentation so it's clear that an int field doesn't need to …
wyattscarpenter May 10, 2025
c0aa284
begin to enforce rules, although it's surprisingly failing
wyattscarpenter May 10, 2025
c76183d
continue automating, and correcting
wyattscarpenter May 10, 2025
72f1e5c
blacken
wyattscarpenter May 11, 2025
31dc2ff
remove the concern about links as it no longer seems to be useful
wyattscarpenter May 11, 2025
2c45a29
improve cli formatting error message and also linewrapping
wyattscarpenter May 11, 2025
67dd115
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 11, 2025
185371a
readd link I accidentally deleted
wyattscarpenter May 11, 2025
91233ca
name that occurs in python 3.9
wyattscarpenter May 11, 2025
52d2a4c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 11, 2025
26e221d
fix ci problems (type errors)
wyattscarpenter May 11, 2025
9706862
hold on a minute, this needs an s
wyattscarpenter May 11, 2025
01324aa
my arguments were in the wrong order
wyattscarpenter May 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update documentation so it's clear that an int field doesn't need to …
…be called int
  • Loading branch information
wyattscarpenter committed May 11, 2025
commit 350fd38923d9a74d829fe5500352cdf2ccdb670c
4 changes: 2 additions & 2 deletions docs/source/command_line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1093,8 +1093,8 @@ Experimental features

.. code-block:: python

def test_values() -> {"int": int, "str": str}:
return {"int": 42, "str": "test"}
def test_values() -> {"foo": int, "bar": str}:
return {"foo": 42, "bar": "test"}

.. option:: --find-occurrences CLASS.MEMBER

Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/mypy/pull/19073/commits/350fd38923d9a74d829fe5500352cdf2ccdb670c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy