Skip to content
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

--diff cli option mentioned in README doesn't work #77

Closed
bkcsfi opened this issue Jul 10, 2023 · 5 comments
Closed

--diff cli option mentioned in README doesn't work #77

bkcsfi opened this issue Jul 10, 2023 · 5 comments

Comments

@bkcsfi
Copy link

bkcsfi commented Jul 10, 2023

I tried this per the instructions

$  bump-pydantic --diff mypackage

got back

No such option: --diff
@so1n
Copy link

so1n commented Jul 11, 2023

I i have the same problem

➜  pait git:(master) bump-pydantic --diff pait
Usage: bump-pydantic [OPTIONS] PACKAGE COMMAND [ARGS]...
Try 'bump-pydantic --help' for help.
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ No such option: --diff                                                                                                                                                                           │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
➜  pait git:(master) bump-pydantic --help     
                                                                                                                                                                                                    
 Usage: bump-pydantic [OPTIONS] PACKAGE COMMAND [ARGS]...                                                                                                                                           
                                                                                                                                                                                                    
 Convert Pydantic from V1 to V2 ♻️                                                                                                                                                                   
                                                                                                                                                                                                    
╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    package      PATH  [default: None] [required]                                                                                                                                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --disable         [BP001|BP002|BP003|BP004|BP005|BP006|BP007]  Disable a rule.                                                                                                                   │
│ --log-file        PATH                                         Log errors to this file. [default: log.txt]                                                                                       │
│ --version                                                      Show the version and exit.                                                                                                        │
│ --help                                                         Show this message and exit.                                                                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

➜  pait git:(master) bump-pydantic --version
bump-pydantic version: 0.3.0

@Kludex
Copy link
Member

Kludex commented Jul 11, 2023

Yeah, I removed the command... Readding it... 😅

@ftnext
Copy link

ftnext commented Jul 17, 2023

Diff option was removed at e206b7e#diff-a102064b97e7f3518d187219833a8a9f2d03406c6d3f39213f63e7207896f307L43
but I can see diff with older bump-pydantic

$ pip install -U 'bump-pydantic==0.1.0'
$ bump-pydantic --diff mypackage

@Kludex
Copy link
Member

Kludex commented Jul 17, 2023

Yeah... I know... I'll readd it today.

@Kludex
Copy link
Member

Kludex commented Jul 17, 2023

I'll make a release today.

@Kludex Kludex closed this as completed Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants