Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python-trio/flake8-async

Highly opinionated linter for Trio code
https://github.com/python-trio/flake8-async

More detailed error printing on failed tests

43d0d0d31442ac39bdf9cf288261cde385fc1f2c authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #17 from jakkdl/7_async_iterable_checkpoints

ff2d0b36b14713304068b5a244e322d6a62cedf0 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #26 from jakkdl/diffing_message_printing

dc2cc8a8092984628ef76c2f671900f5095ef5a3 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
incremented version

71a66b419fbd50bd7a29929c71c58dde0b21bbbd authored over 2 years ago by jakkdl <[email protected]>
fork off test infrastructure changes into another PR

ec81f80c411de52dc0207d5193745b4322c856c2 authored over 2 years ago by jakkdl <[email protected]>
improved printing, allow error files to INCLUDE other errors that they promise not to raise

1579effa24dbcdf1b35a749898c52da879cfbdc7 authored over 2 years ago by jakkdl <[email protected]>
cleanup, comments, and more

82432a4a323b55589d1546ef207e4bed8441ef4b authored over 2 years ago by jakkdl <[email protected]>
Merge remote-tracking branch 'origin/main' into 7_async_iterable_checkpoints

ad8da194d9fe003544d927492241fae9f1ccbec2 authored over 2 years ago by jakkdl <[email protected]>
wip

9f7d2bc3ea0b33e56fd786028ff3bc523222b87c authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #25 from jakkdl/code_cleanup

59c45d9cddffc064a61545327fed5256e7531c6e authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge branch 'code_cleanup' into 7_async_iterable_checkpoints

9bc4d7e79d4b125f319b97e26eaf3e9ad757bb02 authored over 2 years ago by jakkdl <[email protected]>
Merge remote-tracking branch 'origin/main' into 7_async_iterable_checkpoints

afc1ee12c9cf056e5863001e3ab3ce856eb11c17 authored over 2 years ago by jakkdl <[email protected]>
changed test line to not get modified by black

e0b4ea5d12636dd7dd4d814b38cbf06c75ada1cc authored over 2 years ago by jakkdl <[email protected]>
support for multiple errors on same line. Make shed not reformat tests/trio*.py files

cedc8f10ddf94fa28897696183413e5da7883891 authored over 2 years ago by jakkdl <[email protected]>
update CONTRIBUTING.md, move error codes into a dict, self.error now takes a HasLineInfo, errors in trio*.py are eval'd, requiring strings to be quoted. Updated checks for the existence of error codes. Added comments to VisitorMiscChecks to indicate which portions check which error code.

9c38a1e61e2df2a549073674ad15cb938c17048e authored over 2 years ago by jakkdl <[email protected]>
Release new version 22.8.1

b298954c9b3d82909b400af94260b036d44e3ef1 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #21 from jakkdl/10_no_trio_sleep_in_loop

8bbbe7ea24e7834a26b5c2d4acb9884eacba62ca authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Assign trio110

3d8fdf45e569880eda8fb6bb45428e2cd87650da authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
restrict test to only trigger on while loop with a single statement in body

5bafeaae79bc78cdf59d8b8613731d8df0b972c0 authored over 2 years ago by jakkdl <[email protected]>
add trio[301], don't await trio.sleep inside loop

99b7309e74b6b0ee08e78457507d610b734f4d6e authored over 2 years ago by jakkdl <[email protected]>
Assign trio109

8c9966dc027f071422d12f6e7a286852c38e65fa authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #20 from jakkdl/9_async_function_timeout

0d64a32ee7c3591e59a16254832e9c10045380f1 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #23 from jakkdl/code_cleanup

695cd19651cfe7449b7eefa8ef1d49b0b267e08d authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
various small fixes and improved test output

7c0c61cf539ca312fcb9c0302837758a6a78e75f authored over 2 years ago by jakkdl <[email protected]>
Add trio[300], async functions should not have a timeout parameter

c7e43ca310cd14fa52921a9866d715398405d8a2 authored over 2 years ago by jakkdl <[email protected]>
cleaned up ugly loop by adding a vararg walk wrapper, replaced instances of Generator with Iterable

c2621a4eaa0c712beb0097ab8b5fa8308aec2bc2 authored over 2 years ago by jakkdl <[email protected]>
Added details to TRIO108, which also made me clean up the logic a bit.

7acf4d6e8ffd16389f9600288942e07f01676dbe authored over 2 years ago by jakkdl <[email protected]>
Extend 107 and 108 to handle async iterators

6cde5890b105953380728f2d4347775ba061a232 authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #19 from jakkdl/generate_tests

Generate tests

b53e5faa902fc199e8c74f6a29093bfe5401cfa1 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge remote-tracking branch 'origin/main' into generate_tests

88aab1803f41dc835e01d4a2518903c5c3746b95 authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #18 from jakkdl/8_expand_trio102

Extend 102 to excepts, 104 also catch yield

23e2d8978d395012b6deb184ee86ba03ef645b40 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
fix tests

a2463e60f5c2f92b43b83e0bfabe4ea8dd5fedd8 authored over 2 years ago by jakkdl <[email protected]>
remove lines added to silence other errors

df64c5e1cc5da60b0d93f0a9d06b236a21c93a0d authored over 2 years ago by jakkdl <[email protected]>
Merge branch '8_expand_trio102' into generate_tests

2ea3ed5dbae40a1e7c844b57770f9117f83d656f authored over 2 years ago by jakkdl <[email protected]>
removed column from comment, dedent raise

7460ec12382493340a012bcafe9bc0fade088378 authored over 2 years ago by jakkdl <[email protected]>
generate expected error messages from file comments

a4b9d211d25d0c5d3e2582119e337857068ba328 authored over 2 years ago by jakkdl <[email protected]>
update changelog

534014b2c2d5e5754a153c77c198537128044bea authored over 2 years ago by jakkdl <[email protected]>
Extend 102 to excepts, 104 also catch yield, add info to error messages on 102&103, rename variables and minor refactor.

e4fbf20bbdf3cf1c477d556b32222695f8a01a3b authored over 2 years ago by jakkdl <[email protected]>
Consistent punctuation

48b3e3c449694667699192faf42624ab72882e23 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Fix empty bullet-point

e7f25b6e392da1812c459af05205adba5090e22e authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #16 from jakkdl/6_async_checkpoints

58d91946aa8bd6370a03128a17cd07afee07f4df authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Update comments

81ebc1cc83ead69a81fa81373fe888928df7c640 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
incremented version

1780e3c3966ed011e8f2d864ab7bc13b314d29e1 authored over 2 years ago by jakkdl <[email protected]>
fixed TRIO103 in trio107_108.py

6ad9d9670273c6b1c6a905edfbbf4f5ab1ca71ff authored over 2 years ago by jakkdl <[email protected]>
300,301 -> 107,108

10a79d0edb622eb50a27a88fef079c9c78ab84d1 authored over 2 years ago by jakkdl <[email protected]>
added comment, overloaded functions are safe

2a6ac5b3e536e55799bf7f4bb9f38247f3631042 authored over 2 years ago by jakkdl <[email protected]>
handle case of (try or else) and all(except), reorder tests

d2a31c693003fd711751b81d28acae5b9ad77c6d authored over 2 years ago by jakkdl <[email protected]>
300 -> 300_301

bfa299943976d3cb89417a2754891db8dd530fb8 authored over 2 years ago by jakkdl <[email protected]>
return, nested functions, ignore checkpoints in try, inline if

3a72ee5be9f83193b9efab5462d277b9c388ebea authored over 2 years ago by jakkdl <[email protected]>
Added #6: Async functions must have checkpoints on every code path

221ee28eae3628a7e1e9e81b2309eb8a8fed9eff authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #15 from jakkdl/setenv

don't register plugin when running flake8 checks

f7bc1c72cee7601fabe1284004310f78cb8d7ad9 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Change to use 'skip_install' instead

13387ba719a36b08d4a292bb4910fa2bcd0e1afd authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #8 from jakkdl/trio103

cdd89ca7ec793368d7df716822cc3ac27dfabd50 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
don't register plugin when running flake8 checks

ba41ff9d88f83be6eee1582321a7c7a6aee720ef authored over 2 years ago by jakkdl <[email protected]>
updated comments

a41f00b92daff9d39ce6c52be5af0cb5a87ffdf2 authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #14 from jakkdl/meta-tests

Meta-tests

18a0d294f7e49bc8fb51f77eb37b035c2513c585 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
fixed continue/break to escape except

8458fd577cd119f11415675e2aeb2873d234ed94 authored over 2 years ago by jakkdl <[email protected]>
pretty sure this is also an error

e7dd5854d858961b37231401521da240398c2676 authored over 2 years ago by jakkdl <[email protected]>
reorganize tests, various things, realize we need to handle continue/break

ebed2df8d6dc65974d53b97896640352eb985016 authored over 2 years ago by jakkdl <[email protected]>
Merge branch 'meta-tests' into trio103

bcff826c08f25f33345adf9b7ad05fb68db93782 authored over 2 years ago by jakkdl <[email protected]>
fix Trio100 bug, add test_messages_documented and test_trio_tests, clean up tests

3e356ac7154290c3d7a542981810fad1b3af1139 authored over 2 years ago by jakkdl <[email protected]>
update error message

aae9482f1fb24c4408526170791995c0fd553146 authored over 2 years ago by jakkdl <[email protected]>
agh, it's confusing that the check returns OK and makes no indication that files have been changed. Not the first time that causes me to push bad code

077cd64e738dd2cdfcb3e629b733db4762aec789 authored over 2 years ago by jakkdl <[email protected]>
merged main, fixed comments. Bare excepts are correctly handled, added comments, new exceptions are not accepted, bugs and rewrites and stuff.

17abc8a4fca1ead05b1a07b458deb43eafd7e6b0 authored over 2 years ago by jakkdl <[email protected]>
Fix test

97634484f24c15acf98a9a4027c02ffc9c2d8eb8 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Release version 22.7.4

60acc2b1cee3299c0099987a3802640c31162f16 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Reorder classes

9e218529d54ccddfb79bde110b2eec31ae2f2381 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Pull out shared logic

6d5b81449e1a119646ff9fd089d7d799b72f23ac authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
readme and changelog entries, comment about noqa in the test

657fa3f1cd0a075f83d583aa60ed0216828103a9 authored over 2 years ago by jakkdl <[email protected]>
fun ways to sidestep the check that is not covered. shed'd but also with noqa

712475d653766d8c474ef54930287796b7bfc45a authored over 2 years ago by jakkdl <[email protected]>
Add 106, don't fancy import trio

e0a8b17c93a291240b83085412a04eaf13ee30e8 authored over 2 years ago by jakkdl <[email protected]>
Update test_changelog_and_version.py

7d4e7ee006efd88c7c178c076050f3fe45c189ef authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #10 from jakkdl/trio105

TRIO105: Calling trio async function without await

b42a69973c9b44c5a9b379e9dd50ea5756827c13 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
updated error message, comment. Un-updated version and moved changelog

entry to ## Future

3ee1eb84056e1bb5e5baca6df9f1789ecf773d9b authored over 2 years ago by jakkdl <[email protected]>
add visitor superclass, move down Visitor102

88deb51e29195d26f44b9d3e6c7f67613276079b authored over 2 years ago by jakkdl <[email protected]>
yay I figured out a tricky case

02a8da113937369604e34a4dabd7bdc0d15b5bce authored over 2 years ago by jakkdl <[email protected]>
I'm quite happy I figured out how to get the async functions generated, one less bug pushed to production

6337c9e1afeac84ed21c3a96f0197bd334bc2414 authored over 2 years ago by jakkdl <[email protected]>
Implemented TRIO105: Calling trio async function without await

071ee2456105237bea79402fad1d307ceb12fef3 authored over 2 years ago by jakkdl <[email protected]>
bare except with saved exception is acceptable

8eeb8f4b9dd1157451ee641eb48056900050d09d authored over 2 years ago by jakkdl <[email protected]>
split 103 into 103+104, point to line+col of correct exception, accept re-raising by way of creating a new BaseException/Cancelled, handle nested try's

9ae8ce4d4e7a9f3937482726aae567d9aebf2c99 authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #9 from jakkdl/rm_trio102_py39

1bd41539c95d83a7a4f73baef0834dc939115fb8 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
merged tests/trio102_py39.py into tests/trio102.py since that's valid 3.8

108f888db206e26da68dd8c191e9f3c69a0d345e authored over 2 years ago by jakkdl <[email protected]>
Merge remote-tracking branch 'origin/main' into trio103

3d43d64277aa429578073912f3fcdf4a21443da7 authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #7 from jakkdl/tox_python_envs

generate test environments for 3.8, 3.9 and 3.10

1e51a5f6b87ee2f3c43e8fa684600577c79c7141 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
ignore raises inside loops

327ad2b43d71c3a58dad237f591bcbf73dc228f4 authored over 2 years ago by jakkdl <[email protected]>
okay idk how I managed to push these failing tests

ad14b53b2054e767e8ab7f268e9a7ae4a0576c63 authored over 2 years ago by jakkdl <[email protected]>
forgot to tox, still need to setup pre-commit hooks

a78429e24ff31bfce5a9f5637145c6bae43adfe8 authored over 2 years ago by jakkdl <[email protected]>
First draft of trio103, <Never have an except Cancelled or except BaseException block with a code path that doesn't re-raise the error> - couple stuff WIP/TODO

d74e1fec57dd827edda3d7f2a55c871b7f077a1a authored over 2 years ago by jakkdl <[email protected]>
oops, forgot to add file

c1066016d1873f79cfdc245bbffc73a2a20882aa authored over 2 years ago by jakkdl <[email protected]>
rename py310-test to test, add tip of -p and --develop

5162862e78658e6c7f8106e75c5f33b72296872e authored over 2 years ago by jakkdl <[email protected]>
Merge pull request #5 from jakkdl/trio102

b10621ea4deebdf1f47346a6885b8efa2e435c03 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
Tweak message, variable name

70da62551300ff29d578a234cb8b33eeda7a3419 authored over 2 years ago by Zac Hatfield-Dodds <[email protected]>
added default envlist and modified contributor guide

ca0b575c4d57e71924a2d64a999536c9557bd5cc authored over 2 years ago by jakkdl <[email protected]>
added helper function for decorator, minor touchup, and more decorator tests

a582b01b0befe727b0f7b731c6fb066569c4857b authored over 2 years ago by jakkdl <[email protected]>
ew, I forgot to move down the function

2753fd9b9d86735eb52b99436a4f9b38014cd0bd authored over 2 years ago by jakkdl <[email protected]>
generate test environments for 3.8, 3.9 and 3.10

4c2663d51aea7db216f47b11a86f6e335ce86e68 authored over 2 years ago by jakkdl <[email protected]>
moved 102 to it's own visitor (some code duplication, but will fix that later), raise error on async for and async with, self._scope[s] is now a stack, scopes are reset on entering the finally, fixed coverage issue (and related bug). And added tests for all of the above, as well as separating out py39+ tests into it's own file

a6660ecf7c71da609e92b064adc4cfe951a46501 authored over 2 years ago by jakkdl <[email protected]>
added & fixed comments

3daf578af59239947269a9e51d2a6164f733d44e authored over 2 years ago by jakkdl <[email protected]>
fix python3.8 error

583a6b6ad486194b98457d623de640821a518c14 authored over 2 years ago by jakkdl <[email protected]>
merge main

ee2b4067e02b93f393960fccedce6c38af8740b9 authored over 2 years ago by jakkdl <[email protected]>