Commit Graph

4524 Commits

Author SHA1 Message Date
Andrew Murray
1a108281b9 Removed unused code 2024-02-17 14:04:00 +11:00
Andrew Murray
50e9a92c98
Merge pull request #7794 from radarhere/type_hints
Added type hints to additional tests
2024-02-13 22:22:24 +11:00
Andrew Murray
3374e91d5e
Merge pull request #7750 from hugovk/type-hints-replace-io.BytesIO
Replace `io.BytesIO` in type hints
2024-02-13 21:29:52 +11:00
Andrew Murray
4ce06aac3b Added type hints 2024-02-12 23:01:44 +11:00
Andrew Murray
ea0240bf2d
Use is None
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-12 19:12:08 +11:00
Andrew Murray
3f6422b512 Added type hints 2024-02-12 09:28:53 +11:00
Andrew Murray
29dd02509d Merge branch 'main' into type-hints-replace-io.BytesIO 2024-02-11 22:02:55 +11:00
Andrew Murray
463c368211
Simplified code
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-07 21:02:34 +11:00
Andrew Murray
159fc068ca Merge branch 'main' into type-hints-replace-io.BytesIO 2024-02-07 20:50:36 +11:00
Andrew Murray
cdc498e6f3 Added type hints 2024-02-07 19:16:28 +11:00
Andrew Murray
91645f9eff Lint fix 2024-02-07 10:19:00 +11:00
Hugo van Kemenade
811dd15ca5
Merge pull request #7769 from radarhere/type_hints 2024-02-06 23:12:26 +02:00
Andrew Murray
65cb0b0487 Added _typing.Coords 2024-02-06 07:49:43 +11:00
pre-commit-ci[bot]
27b0cf67e7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 17:18:52 +00:00
Andrew Murray
5a8e7dda79 Added type hints 2024-02-05 20:36:34 +11:00
Andrew Murray
95255536cf Merge branch 'main' into type_hints 2024-02-05 19:29:27 +11:00
Andrew Murray
d8f52f58be
Merge branch 'main' into main 2024-02-05 08:56:25 +11:00
Andrew Murray
2515938cdd Simplified type hints 2024-02-02 19:04:22 +11:00
Andrew Murray
530512f699
Merge branch 'main' into type-hints-replace-io.BytesIO 2024-01-31 22:58:53 +11:00
Andrew Murray
bb1fece57a Added type hints 2024-01-31 21:55:32 +11:00
Hugo van Kemenade
4a4b90c365
Autotype tests (#7756)
* autotyping: --none-return
* autotyping: --scalar-return
* autotyping: --int-param
* autotyping: --float-param
* autotyping: --str-param
* autotyping: --annotate-named-param tmp_path:pathlib.Path
2024-01-31 20:12:58 +11:00
Andrew Murray
5efa2ade22 Added test 2024-01-31 19:10:33 +11:00
Hugo van Kemenade
76955bbaf7 Remove shebang and execute bit 2024-01-29 18:43:51 +02:00
Hugo van Kemenade
0669532898 Remove shebangs 2024-01-29 18:43:03 +02:00
Hugo van Kemenade
d49d2d14a0
Merge branch 'main' into type-hints-replace-io.BytesIO 2024-01-28 11:22:00 +02:00
Hugo van Kemenade
61d47c3dfa More support for arbitrary os.PathLike 2024-01-27 14:06:06 +02:00
Andrew Murray
737314923f Added type hints 2024-01-27 15:19:43 +11:00
Hugo van Kemenade
16d4068b42 Test os.PathLike that's not pathlib.Path 2024-01-26 19:17:44 +02:00
Hugo van Kemenade
f613a9213f Parameterise test 2024-01-26 19:17:44 +02:00
Andrew Murray
ddb7df0ec6 Added type hints 2024-01-25 22:18:46 +11:00
Andrew Murray
4175787c45
Merge pull request #7739 from radarhere/test_image_results
Do not support using test-image-results to upload images after test failures
2024-01-25 06:36:49 +11:00
Andrew Murray
4814bee6c0 Use Path instead of PosixPath 2024-01-23 21:42:36 +11:00
Andrew Murray
16fd934b00 Use TypedDict 2024-01-23 09:55:25 +11:00
Andrew Murray
2521ec4732 Restored charsets dictionary 2024-01-22 22:08:45 +11:00
Andrew Murray
a09e056a4c Added type hints 2024-01-22 18:42:43 +11:00
Andrew Murray
d331eb9c52 Added type hints 2024-01-21 19:18:51 +11:00
Andrew Murray
4674195321 Removed support for test-image-results 2024-01-21 15:01:12 +11:00
Andrew Murray
3453a99908 Merge branch 'main' into type_hints_check 2024-01-21 14:38:17 +11:00
Andrew Murray
1891b61f73
Merge pull request #7736 from hugovk/isort-tests
Sort imports in `Tests/`
2024-01-21 14:30:42 +11:00
Hugo van Kemenade
53c3cd9f8e isort Tests 2024-01-20 13:23:03 +02:00
Andrew Murray
a18cee35ff
Updated import order
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:26:31 +11:00
pre-commit-ci[bot]
9454c28f0f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-20 10:24:57 +00:00
Andrew Murray
970bd102ba
Updated type hint
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:24:34 +11:00
Andrew Murray
99d851957f
Return early
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:23:08 +11:00
Andrew Murray
f7701e6596 Do not log URL of test images if there is no URL 2024-01-20 21:04:57 +11:00
Andrew Murray
9b6c1e3763 Added type hints 2024-01-20 11:13:06 +11:00
Andrew Murray
1d63cffdad Added type hints 2024-01-19 21:50:27 +11:00
Andrew Murray
81b5c5dc68 Added type hints 2024-01-19 08:37:58 +11:00
Hugo van Kemenade
fc67ee29d5
Merge pull request #7701 from esoma/issue-7700 2024-01-11 14:05:16 +02:00
Hugo van Kemenade
5baace9eb7
Merge pull request #7702 from nulano/deprecate-cms-constants 2024-01-11 10:51:21 +02:00