-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Fix pytest warnings #73
Comments
abey79
added a commit
that referenced
this issue
Nov 26, 2020
The data model of vpype now includes the page size, which is set by the `read` command and can be changed using the new `pagesize` command. The `show` command will now display the page size too. Internally, naming has been adjusted throughout the code base to reflect this change: VectorData becomes Document and all occurrences of 'page format' are replaced by 'page size'. User changes: - `read` will now remember page size from SVG - `write` will now use page size by default (unless `--page-size` is used) - renamed all occurence of 'page format' to 'page size' (notably `write --page-size`, formerly was `--page-format`) - added `pagesize` command to manually set the page size (eg. `vpype rect 1cm 1cm 10cm 15cm pagesize a4 write output.svg`) - `show` will displays the page size if it is available - added `stat` command to display statistics on the geometries and the current page size (was formerly hidden) - deprecated APIs are now removed from the documentation API/internal changes: - Renamed VectorData to `vpype.Document` - Added page size management to `vpype.Document` - Renamed all variations of page_format to page_size - Improved deprecation of old names (warnings are now emitted) - fixes #73 - fixes #79 - RTD will now fail on warning
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
46 warnings are currently emitted
The text was updated successfully, but these errors were encountered: