Comments (5)
Yeah... I know... I'll readd it today.
from bump-pydantic.
- Readded on #96.
I'll make a release today.
from bump-pydantic.
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
from bump-pydantic.
Yeah, I removed the command... Readding it... 😅
from bump-pydantic.
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
from bump-pydantic.
Related Issues (20)
- RecursionError when processing file with a large number of enums HOT 1
- Field(example=...) needs a codemod. HOT 1
- BP008: Not Handling conint(ge= , lt=) Correctly HOT 1
- Literal values "and" and "or" cause ParserSyntaxError HOT 10
- env -> validation_alias? HOT 1
- License info missing in classifiers and/or meta data HOT 3
- On Windows machines with >= 32 cores (more than 64 logical processors) execution fails HOT 1
- @root_validator will not updated to model_validator HOT 1
- [BUG]: bumb-pydantic doesnt change files HOT 2
- Set libcst dependency version HOT 1
- Rule BP002: Replace Config class by model_config attribute does not keep the arbitrary_types_allowed argument value
- uncovered case in validator->field_validator
- Issue with Literal["$"] being converted HOT 2
- Ignore .tox files HOT 2
- Add support for handling unannotated fields
- Examples in codemod files do not all work HOT 1
- Log.txt file automatic creation in PWD is kind of an anti-feature HOT 3
- Not Transformed automatically for other parent class except BaseModel HOT 2
- I have a big pile of improvements to upstream HOT 2
- BP008 may not be working as intended. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bump-pydantic.