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

fix py313a5 deprecationwarning (#218)

b7c62ce12678346b867be2afbee40866f0499048 authored 9 months ago by John Litborn <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#217)

updates:
- [github.com/PyCQA/autoflake: v2.2.1 → v2.3.0](https://github.com/PyCQA/autoflake/com...

63560fa5ff759d583f33359c7d793a1a83125c46 authored 9 months ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Merge pull request #216 from jakkdl/input_in_async

add ASYNC250: blocking sync call input() in async function.

7fb25726a32efaac56494937e68fab2c7ebf07c7 authored 10 months ago by Zac Hatfield-Dodds <[email protected]>
add ASYNC250: blocking sync call input() in async function.

1e20f992dd018d106babc6f31d8e0393a387b0c3 authored 10 months ago by jakkdl <[email protected]>
moar asyncio support, test infra improvements (#213)

* Add asyncio-specific error messages for 2xx.
Add check in tests to detect if [library]_NO_ERR...

8b1a1cf91b09d8c34dbfb2e954eafcc727d288e2 authored 10 months ago by John Litborn <[email protected]>
standardize to [a/b] (#212)

Change all instances of [a|b} to [a/b] in documentation, etc.

fe751bc83a1e2bc37bc3d15fbe97354143c2f1c5 authored 10 months ago by John Litborn <[email protected]>
basic Asyncio support (#210)

* initial support for asyncio: 106, 200, 21x, and 9xx are working

* partial support for 102, ...

5c6879a0ca4af49467a4cf9a6bafc371bbfea848 authored 10 months ago by John Litborn <[email protected]>
Merge pull request #209 from jakkdl/rename_files

rename files, update references to them

eb2de732f747f91ed91eba13ad6bf00c782bac5a authored 10 months ago by Zac Hatfield-Dodds <[email protected]>
remove rename_file and unrename_file

6281cb34e336898cca09f738ca1d802b4b33d50f authored 10 months ago by jakkdl <[email protected]>
rename eval_files

a347611fc4609292b46216d81bd44b2937b2f1eb authored 10 months ago by jakkdl <[email protected]>
rename files, update references to them

1aa8ef8f9d8fd8f8f98c6b5165690af15fec6566 authored 10 months ago by jakkdl <[email protected]>
Rename to flake8 async (#206)

* update docs, name of binary, and in general all changes possible without renaming files

* r...

7748d40aa9a1da7c4cddbee65d2e6f4264ddafee authored 10 months ago by John Litborn <[email protected]>
Merge pull request #205 from jakkdl/remove_117

remove trio117, as MultiError is removed in trio 0.24.0

b00e77aee496b8455b4f7f8587f72ace9ddc2cbb authored 10 months ago by Zac Hatfield-Dodds <[email protected]>
remove trio117, as MultiError is removed in trio 0.24.0

c28b7e55b67557b347b7678feae3d1ac10d36beb authored 10 months ago by jakkdl <[email protected]>
use pre-commit.ci, remove workflow step running pre-commit. Add pyright to CI workflow (#204)

* use pre-commit.ci, remove workflow step running pre-commit. Add pyright step to CI workflow.

dffdf7df0409d95ac0802bfdde7e1ba04d0777a6 authored 10 months ago by John Litborn <[email protected]>
Followup changes to fix ruff & pyright warnings (#203)

* Annotate error_codes with Mapping instead of dict to silence warnings about mutable classvar, ...

bae0a639ca986b6d2ce1484aeaa9bf7cfa4018a9 authored 10 months ago by John Litborn <[email protected]>
Merge pull request #202 from jakkdl/update_ci

Update ci

953a9456bd5938a0f6ebc0fd6a413e308e954cc9 authored 10 months ago by Zac Hatfield-Dodds <[email protected]>
foo-> bar in some test files, replace a couple instances of flake8_5 I missed, add py313 support now that hypothesmith is updated

6f0f574cf4fa85d284da2cdd327630099726710c authored 10 months ago by jakkdl <[email protected]>
remove unnecessary pyright: ignore

41539a0eafe1de8f087879098a0a0f9b1377338a authored 10 months ago by jakkdl <[email protected]>
bump default_language_version to 3.12 in pre-commit-config

c124786326677b75cd93cc3521d68317444f1691 authored 10 months ago by jakkdl <[email protected]>
isort messed up autofix diff file

fe2124ce87fb44f8a0ac18a4f96319abf99dc7ba authored 10 months ago by jakkdl <[email protected]>
use flake8_7 with CI --run-slow, fix typing issues

dde4479842315a6a64f2f56d3875931ead9f0af3 authored 10 months ago by jakkdl <[email protected]>
start using pytest-xdist in CI, let's hope it's faster than 90s

38d6281d3da23f679203799499eab0fd8bacffa6 authored 10 months ago by jakkdl <[email protected]>
remove 3.13 from CI, pending hyposmith being importable on it. Update tags in setup.py to specify we support 3.12

afdea1396594078c333e7cd24b86832ea45ee8d7 authored 10 months ago by jakkdl <[email protected]>
bump minimum flake8 version, and bump libcst version to match reality

7711b928dc8c8e9e301ee8be774e67352034d46d authored 10 months ago by jakkdl <[email protected]>
undo pyupgrade breaking trio103 eval file, exclude it in pre-commit

revert adding ipdb to tox (was briefly used when testing stuff)

3cf9d97c4b75c5d0b781ff8570eb5b2bcb4c4ceb authored 10 months ago by jakkdl <[email protected]>
update pre-commit, fix pyright/mypy/ruff errors, remove flake8, add py312 testing, fix TRIO91X for empty-body-on-same-line found due to new black style

c18c7014db175aaa1cccd8d6048426c37dedeb01 authored 10 months ago by jakkdl <[email protected]>
Merge pull request #198 from jakkdl/ruff

use ruff noqa handling

a652441fb3a9a92f14da3542bb2a0a1ba8f03f87 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
use ruff noqa handling

7780a133dfe84a10c59a08393818643045699e61 authored over 1 year ago by jakkdl <[email protected]>
Merge pull request #196 from jakkdl/ruff

replace flake8-eradicate with ruff ... and enable a ton of more lint rules, fixing a couple of t...

6f3ee3bf6d82ee9e98d3fbe490966503c9b2e2f2 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
replace flake8-eradicate with ruff ... and enable a ton of more lint rules, fixing a couple of them.

58c2ed21b43a003928bd91f8310d159c91525d82 authored over 1 year ago by jakkdl <[email protected]>
Merge pull request #194 from jakkdl/ununpin_pyright

pin pyright, by no longer forcing latest version

0df3b80a40958243e53bee08ff4a3e71bffd5672 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #195 from jakkdl/pin_dependencies

add version requirements on flake8&libcst

77ddd3e3c04e3b04752be6eaa379081d6e0f5898 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
add version requirements on flake8&libcst

6bacff0ec8ac3930903c4ca068d9b272e3fa8733 authored over 1 year ago by jakkdl <[email protected]>
pin pyright, by no longer forcing latest version

cc7999263f0e7d1c0f4b9c6a8c6b3fe13ac59c90 authored over 1 year ago by jakkdl <[email protected]>
Merge pull request #190 from jakkdl/noqa_autofix

don't autofix noqa'd errors, add --disable-noqa, add non-passing test for noqa reliability

50097922916524b5c655e09495e68b79850ea118 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
pyright: exclude eval&autofix files due to new errors from update

0c24e4bc1ff55cdc86ba007c17c27a11d6205f07 authored over 1 year ago by jakkdl <[email protected]>
don't autofix noqa'd errors, add --disable-noqa, add noqa test parameter

to eval_files

022fc3a4f661ec42afac5a21eb0404fe13f62380 authored over 1 year ago by jakkdl <[email protected]>
Release version 23.5.1

35e94e09aea8e757678540a87963521006e19529 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #188 from jakkdl/noqa_ast

noqa now correctly ignored when running as plugin. ast-based visitors…

efae7d332c5c37c1cb24e10439ecb7330b5d9bcc authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #186 from jakkdl/autofix_100_same_line_eating_comments

fix trio100 removing trailing comment with same-line with

f97040055cdf85fdd01685991e9256ce650b56e5 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
noqa now correctly ignored when running as plugin. ast-based visitors now suppress noqa'd errors (when run standalone).

4c9af69ac442724192e8d78584dc780e0ebbc4f6 authored over 1 year ago by jakkdl <[email protected]>
fix TRIO100 removing trailing comment in same-line with

ec5f15a95b2eb54c30c0a32441c661da1734a60d authored over 1 year ago by jakkdl <[email protected]>
Update docs to new script name

e13a686488ae27ac0e702ceacc3bc65a287bd6b7 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #184 from jakkdl/rename_executable

f458a33d7b0959a8baa305e6874de50714391360 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #182 from jakkdl/noqa

5aaaaadb8cb693724f09c08d8ac1351e04f5e3df authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
rename console script flake8_trio -> flake8-trio

732155f7628bdba026ebdbd1ee8cc1f93a424c2b authored over 1 year ago by jakkdl <[email protected]>
Add basic support for respecting noqa comments.

a0b40ade66ac65f82bf42d8ad8753c557a983c1e authored over 1 year ago by jakkdl <[email protected]>
Merge pull request #180 from Zac-HD/jakkdl-patch-1

Update README.md

a29608cc52a179b14583fb5d0e0c8d8167fd9644 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #179 from jakkdl/false_alarm_910

Fix false 91x alarm on await in genexp target.

1f5abaf89ec9bbf91275113193268ca6634a3211 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Update README.md

1e13683b90b258b605224c860155ae3411ff6fa7 authored over 1 year ago by John Litborn <[email protected]>
Fix false 91x alarm on await in genexp target.

d2e6504c5618a81edc9fe84877f4756dc0f71d20 authored over 1 year ago by jakkdl <[email protected]>
Merge pull request #176 from jakkdl/false_alarms

06f92b1f24f9017e6c2287658e3a6ca0b497fca2 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
fix TRIO100 false alarm on nested context manager

5bcb4292da2d2f668f3f561f054cbdf3e8402c7d authored over 1 year ago by jakkdl <[email protected]>
Merge pull request #175 from jakkdl/examples

47cc2de85655d4e80e6bebbbb37ee5f2c881a3ed authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #178 from jakkdl/fix_CI_slow_tests

7e26dc73879bcc354822580298ddae56bacc85cc authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #177 from jakkdl/sim910

54a576f0dd029eff1ef929051b63011419e24a12 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
disable deadline for unreliable timing test

4ef4db7dffb9ff145235ada27c5ad9cd389bc17c authored over 1 year ago by jakkdl <[email protected]>
fix SIM910, dict.get with value==None (which is the default value)

738c452db7534eaebb9e500d1de1880c93e7cea5 authored over 1 year ago by jakkdl <[email protected]>
Add examples for running

bf8f98b42b7308e455ccb7e35319b6b90d8a9d16 authored over 1 year ago by jakkdl <[email protected]>
Merge pull request #169 from jakkdl/minor

Clean up typechecking for MAGIC_MARKERS by making it a dataclass, add…

dd8dd3caf9669237d0b2a4c7d86ba2864f65edaa authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #171 from jakkdl/install_gitpython

Install gitpython

a2f5b3110245155f255192d5a4b478d025ad83b9 authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
install gitpython for release CI

33304fd063312cdca0bc85af02e66e59f41094d4 authored over 1 year ago by jakkdl <[email protected]>
fix release ci, move test_messages_documented to separate file

cd2807207dafe9c89c079b99dfbd5115044d9248 authored over 1 year ago by jakkdl <[email protected]>
Clean up typechecking for MAGIC_MARKERS by making it a dataclass, add comments w/ possible further improvements

235ed3e3523bd56cdc7076fa448ea39562e5c8d4 authored over 1 year ago by jakkdl <[email protected]>
Merge pull request #167 from jakkdl/merge_eval_tests

clean up tests, merging test_eval and test_eval_anyio

7956e2e53e4a23c271743c25a4519a63e0038c37 authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #165 from jakkdl/CI_tests

run fuzz in CI

e66e8a14f3c83967c4c9e6ef55160165ee79e17a authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
run fuzz in CI

1a9818c6a8c1f300ee6f011a647c59fdf7d109b2 authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #166 from jakkdl/fix_CI

fix ci typo in release

80a6bbe7dae318135711143bd9e0efeef980c477 authored almost 2 years ago by John Litborn <[email protected]>
fix ci typo

c30360741b50be4e78a6351914f74a827bdf3040 authored almost 2 years ago by jakkdl <[email protected]>
clean up tests, merging test_eval and test_eval_anyio

b15f4ceb9c5259332438bd269f6e98716365eada authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #164 from jakkdl/various

remove lines from autofix diff, add CI tag management

027065953b35155c5c5a1f95dbcc8454f927d986 authored almost 2 years ago by John Litborn <[email protected]>
remove lines from autofix diff, add CI tag management

c873a24fe89adaefe076b01841d3408caea45ad2 authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #163 from jakkdl/args

add standalone command line args

c8061febf8afc363a6a59f0146b4f29be6f4dc5f authored almost 2 years ago by John Litborn <[email protected]>
add args

f6f4481390541e13c77d104cea8ce4a1e6c50837 authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #159 from jakkdl/autofix_infra

test for autofix_files, fix some 91x autofixes, rejig eval_files

112b998fd8d34e8f9dce316b3488c45d68d72a2d authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #161 from jakkdl/pre_commit_support

add libcst as install_requires, print errors to stderr & return 1/0, add pre-commit hook & updat...

783b5d033698b30a63a4bdfcf32ec9424fa1f1bd authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #162 from jakkdl/black_preview

Run black with --preview

b4e05bed3c99b28f99ed0cf5547a2e39cddf11ae authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
Run black with --preview

c2aefbecd614361d66ebec29b76c85685e0293e4 authored almost 2 years ago by jakkdl <[email protected]>
add pre-commit hook

1560ee26f492dac88b56d1648df4d177a8c4f7db authored almost 2 years ago by jakkdl <[email protected]>
add tests for autofix files, fix 91x autofix, and rejig test files to accomodate the new tests

c7bb973f851d8e532fe9d7c35aa61bf96ff72046 authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #158 from jakkdl/autofix_91x_forealthistime

implement autofix for 91x

033317aa5bddad9878e84abcea270d2aa5c4eeeb authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
implement autofix for 91x

220c40570c4dd613c6d608da592ff28f07e811e8 authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #157 from jakkdl/105_113_typecheck

dc8399831e7edba5f36524e0a9da720a3ab0074f authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
add mypy to get warnings on unreachable code, fix/ignore various small typing errors

bf0d45da53c9492673c3aa2af08b53ea9070880d authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #149 from jakkdl/91x_autofix

implement autofix for TRIO100

76f5363556c2eed5a6181dbc8838e6772ab2e5fd authored almost 2 years ago by John Litborn <[email protected]>
Implement basic autofix infrastructure and autofixer for TRIO100

77c61dd655cb3eb872afc161254f6c66d851ff8a authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #153 from jakkdl/split_shed

split shed, format&sort toml+yaml

7c293f7b1a076f89ace8edb55de4fcf377b1ded3 authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #154 from jakkdl/91x_comprehensions

665b0cde028d3e6b62dee6ce1e3c98652e277912 authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
add comprehension support to 91x

a92895650e63a9c2f0ff8e0f7c99cbc68f3456da authored almost 2 years ago by jakkdl <[email protected]>
split shed, format&sort toml+yaml

1002d6557eb299d8e05252da15da1dbf32e8adfa authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #152 from jakkdl/precommit_update

update pre-commit revs, flake8-typecheck now ignores stub files

b74a6714cc0a9b143c9dc0047c8f10afaada0ae0 authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
update pre-commit revs, flake8-typecheck now ignores stub files

6090b9c66b35c2b3a1de8cc57511ca7e13c4b301 authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #150 from jakkdl/flake8_pyi

Add flake8-pyi to pre-commit

881b16a921781d58c6e54583ab65057c4241eec2 authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #151 from jakkdl/runtime_error_on_unparseable_code

raise RuntimeError on invalid literal values to range expression

633d2edb43cf44a84a83a174dad49995bf4cf905 authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
raise RuntimeError on invalid literal values to range expression

6ac6a56ae6da80e187db4e92ebfdc41efb17d567 authored almost 2 years ago by jakkdl <[email protected]>
Add flake8-pyi to pre-commit

e70a4a93c9cc1896f698a618254fe783b1dbeeaa authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #148 from jakkdl/capitalize_errors

Capitalize errors

7c9a5300419b58f54e1dc51bff21c25922c94a69 authored almost 2 years ago by Zac Hatfield-Dodds <[email protected]>
Capitalize all error messages in the readme

68fe1c75a57c0f609f534dbade6d8cc54704a5f1 authored almost 2 years ago by jakkdl <[email protected]>
Merge pull request #145 from jakkdl/libcst_91x

code cleanup after 91x PR

c319cc45137d760b9c9c0f94ffeaefe03e344718 authored almost 2 years ago by John Litborn <[email protected]>