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

pyiron / pyiron_workflow / 12848258938
92%

Build:
DEFAULT BRANCH: main
Ran 18 Jan 2025 11:21PM UTC
Jobs 1
Files 34
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

18 Jan 2025 02:48AM UTC coverage: 91.387% (-0.09%) from 91.48%
12848258938

push

github

web-flow
`mypy` compliance (#533)

* Use typing.Callable instead of callable

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Ignore erroneous error

typing._UnionGenericAlias definitively _does_ exist.

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Hint a tuple, don't return one

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Hint typing.Callable instead of callable

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Expose the Self typing tool for all versions

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Add a mypy job

Based on @jan-janssen's jobs for other pyiron repos

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* `mypy` channels (#534)

* Leverage generics for connection partners

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Break apart connection error message

So we only reference type hints when they're there

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Hint connections type more specifically

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Hint disconnect more specifically

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Use Self in disconnection hints

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Use Self to hint value_receiver

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Devolve responsibility for connection validity

Otherwise mypy has trouble telling that data channels really are operating on a connection partner, since the `super()` call could wind up pointing anywhere.

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Fix typing in channel tests

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* :bug: Return the message

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>

* Fix typing in figuring out who is I/O

Signed-off-by: liamhuber <liam... (continued)

3130 of 3425 relevant lines covered (91.39%)

0.91 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.41
0.03% nodes/function.py
1
97.78
0.0% type_hinting.py
2
98.24
-0.01% nodes/transform.py
2
97.53
0.03% mixin/single_output.py
2
98.21
0.01% nodes/for_loop.py
3
90.0
0.0% mixin/has_interface_mixins.py
3
90.32
-2.27% find.py
4
95.37
-0.86% storage.py
5
88.61
0.15% topology.py
6
95.28
0.54% mixin/injection.py
7
93.75
0.11% mixin/run.py
8
94.94
-1.72% mixin/semantics.py
9
28.13
2.32% mixin/display_state.py
10
92.25
0.11% nodes/macro.py
10
92.96
-0.29% mixin/preview.py
11
92.2
0.54% nodes/composite.py
14
94.23
-0.01% io.py
14
91.43
0.05% nodes/standard.py
14
94.74
-0.02% channels.py
15
91.34
-0.76% draw.py
16
58.97
0.53% executors/cloudpickleprocesspool.py
19
90.97
0.06% node.py
24
68.53
2.37% workflow.py
Jobs
ID Job ID Ran Files Coverage
1 12848258938.1 18 Jan 2025 11:21PM UTC 34
91.39
GitHub Action Run
Source Files on build 12848258938
  • Tree
  • List 34
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12848258938
  • e316d6ed on github
  • Prev Build on main (#12798771950)
  • Next Build on main (#12858067475)
  • 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