• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pyiron / pyiron_snippets / 9211369798
95%

Build:
DEFAULT BRANCH: main
Ran 23 May 2024 04:12PM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 May 2024 04:11PM UTC coverage: 89.535% (-10.5%) from 100.0%
9211369798

push

github

web-flow
Git copy content (#2)

* Add a home for the snippets

* Move singleton

* Move logger

* Move the most basic of the test cases

* Improve and test the test case

* Move DotDict to snippets

* Move has_post

* Move SeabornColors

* Format black

* Standardize test import

And always do that __main__ thing for Sam (and anyone else running tests without an IDE)

* Fix newlines and other aesthetic stuff

* Add newlines before code and list context

* Raise the intuitive type of error

* Move the files submodule over to snippets

It only depends on pathlib and seems generically useful to me, so off to snippets it goes!

* Add a shortcut for removing file(s) by name

* Refactor: rename

* Clean the working directory attribute

* Revert the return behaviour on `DirectoryObject.delete`

It was just weird. Just explicitly check for empty. Honestly, we can probably revert the `only_if_empty` kwarg too, but that can be its own PR.

* Format black

* Format black

* Format black

* add copy()

* Add tests and corrections

* add additional information

* define __str__

* Update tests

* make it possible to resolve file path

* Make DirectoryObject recognize various init variables

* allow absolute path and string directory in FileObject

* remove resolve to allow relative path

* remove resolve to allow relative path

* bugfixes and add tests

* restore copy

* allow using same file name

* add Liam's error message suggestion

* Update pyiron_workflow/snippets/files.py

Co-authored-by: Liam Huber <liamhuber@greyhavensolutions.com>

* add absolute path

* codacy

* I should have taken a look at Codacy

* I hope this is the correct way to put windows

* one more try

* awkword mistake

* codacy

* black

* never ending black

* windows fix

* And of course kind of mistake I would have noticed if I had run the test once

* Use consistent and canonical cls/self for (... (continued)

308 of 344 relevant lines covered (89.53%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9211369798.1 23 May 2024 04:12PM UTC 8
89.53
GitHub Action Run
Source Files on build 9211369798
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9211369798
  • e778f429 on github
  • Prev Build on main (#9198647252)
  • Next Build on main (#9216080973)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc