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

Begin strengthening screenshot PR #1

Merged

Conversation

pushfoo
Copy link

@pushfoo pushfoo commented Mar 31, 2024

TL;DR: Starts cleaning it up per review in cal of my initial changes + yours

Changes

  • Use pytest's built-in temp dir helper (Sorry about that! I had to look it up on a hunch!)
  • Add fallback timestamp helper
  • Add start of programming guide pages on screenshots + doc
    • Add example which accounts for TRANSPARENT_BLACK bg breaking screenshots
    • Recommend Arrow and other datetime replacements
    • Add cross-referencing between logging and screenshot doc
  • Use flexible PIL.Image.save-style params
  • Add new doc to home page toctree

@pushfoo pushfoo changed the title Begin cleaning up screenshot PR Begin strengthening screenshot PR Mar 31, 2024
* Fix typo in first line

* Remove compaction of arcade.get_timestamp link
* Remove extra sentence

* Add list item linking the better datetime overview
arcade/__init__.py Show resolved Hide resolved
arcade/types.py Show resolved Hide resolved
* Re-order arguments for get_timestamp

* Improve default timestamp format string

* Add time-machine test helper to pyproject.toml

* Add tests for get_timestamp

* Update doc to cover changes
* Add %Z to get_timestamp

* Add doc on it + cross-refs

* Clean datetime test imports
@pushfoo pushfoo requested a review from sabadam32 April 3, 2024 23:38
@sabadam32 sabadam32 merged commit 8e92ac5 into sabadam32:add_screenshot_1342 Apr 4, 2024
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

Successfully merging this pull request may close these issues.

2 participants