{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":607458090,"defaultBranch":"main","name":"ruff","ownerLogin":"evanrittenhouse","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-02-28T02:17:13.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/84083822?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1720539613.0","currentOid":""},"activityList":{"items":[{"before":"5b4fb6f99722f9b15518b3fc2c5a5f1d7f601a9c","after":null,"ref":"refs/heads/evanrittenhouse/12223","pushedAt":"2024-07-09T15:40:13.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"}},{"before":"a89db3abc64b9031cfb4d9fc1582ec0555d07da5","after":"5b4fb6f99722f9b15518b3fc2c5a5f1d7f601a9c","ref":"refs/heads/evanrittenhouse/12223","pushedAt":"2024-07-09T02:36:45.000Z","pushType":"push","commitsCount":13,"pusher":{"login":"charliermarsh","name":"Charlie Marsh","path":"/charliermarsh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1309177?s=80&v=4"},"commit":{"message":"Add test; suppress entirely","shortMessageHtmlLink":"Add test; suppress entirely"}},{"before":"e3002b37236889a5189c5c7209af13a530f206c0","after":"a89db3abc64b9031cfb4d9fc1582ec0555d07da5","ref":"refs/heads/evanrittenhouse/12223","pushedAt":"2024-07-08T14:32:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Restrict fowarding newline argument in open() calls to Python versions >= 3.10","shortMessageHtmlLink":"Restrict fowarding newline argument in open() calls to Python version…"}},{"before":"50d3a1fd9a0437b306d1acc40f4a6ccf919042df","after":"e3002b37236889a5189c5c7209af13a530f206c0","ref":"refs/heads/evanrittenhouse/12223","pushedAt":"2024-07-08T14:14:27.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"[Ecosystem checks] `trio` has changed its default branch name to `main` (#12225)\n\nFixes CI errors seen in\nhttps://github.com/astral-sh/ruff/pull/12224#issuecomment-2212594024\n\nx-ref\nhttps://github.com/python-trio/trio/commit/17b3644f64b4bb10176e789dc23a8b57b1399f89","shortMessageHtmlLink":"[Ecosystem checks] trio has changed its default branch name to `mai…"}},{"before":"9b89bf7d8abb8ae934af8bcdeab6989d21662726","after":"bf3d903939232a92662c17ebc3fe43ea5149dcfa","ref":"refs/heads/main","pushedAt":"2024-07-08T14:05:31.000Z","pushType":"push","commitsCount":1900,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Warn about D203 formatter incompatibility (#12238)","shortMessageHtmlLink":"Warn about D203 formatter incompatibility (astral-sh#12238)"}},{"before":"99370cecf931e1f133a976acb84992936436413e","after":"50d3a1fd9a0437b306d1acc40f4a6ccf919042df","ref":"refs/heads/evanrittenhouse/12223","pushedAt":"2024-07-08T14:04:59.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"[Ecosystem checks] `trio` has changed its default branch name to `main` (#12225)\n\nFixes CI errors seen in\nhttps://github.com/astral-sh/ruff/pull/12224#issuecomment-2212594024\n\nx-ref\nhttps://github.com/python-trio/trio/commit/17b3644f64b4bb10176e789dc23a8b57b1399f89","shortMessageHtmlLink":"[Ecosystem checks] trio has changed its default branch name to `mai…"}},{"before":null,"after":"99370cecf931e1f133a976acb84992936436413e","ref":"refs/heads/evanrittenhouse/12223","pushedAt":"2024-07-08T14:04:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"[Ecosystem checks] `trio` has changed its default branch name to `main` (#12225)\n\nFixes CI errors seen in\nhttps://github.com/astral-sh/ruff/pull/12224#issuecomment-2212594024\n\nx-ref\nhttps://github.com/python-trio/trio/commit/17b3644f64b4bb10176e789dc23a8b57b1399f89","shortMessageHtmlLink":"[Ecosystem checks] trio has changed its default branch name to `mai…"}},{"before":null,"after":"833b7696193fd55b87cfb2b33ce605b22ac0848d","ref":"refs/heads/evanrittenhouse/7349","pushedAt":"2024-01-04T03:32:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Change --show-source to be the default flag","shortMessageHtmlLink":"Change --show-source to be the default flag"}},{"before":"e5c65846d874762641dbe6c4c4ec0fae0bf5d421","after":"b24822fb9c0afc6c3883006c3258f478f64c949d","ref":"refs/heads/evanrittenhouse/9327","pushedAt":"2024-01-01T17:39:54.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes","shortMessageHtmlLink":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes"}},{"before":"bdd2f12e5486a6c56b175987b3fbc75f32cd5811","after":"e5c65846d874762641dbe6c4c4ec0fae0bf5d421","ref":"refs/heads/evanrittenhouse/9327","pushedAt":"2024-01-01T17:36:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes","shortMessageHtmlLink":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes"}},{"before":"3221b96f34d33ef6431adc02b60e58f64673fcca","after":"bdd2f12e5486a6c56b175987b3fbc75f32cd5811","ref":"refs/heads/evanrittenhouse/9327","pushedAt":"2024-01-01T16:16:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes","shortMessageHtmlLink":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes"}},{"before":"11e572591684a36a1cd1e1d9b2f81219a2047266","after":"3221b96f34d33ef6431adc02b60e58f64673fcca","ref":"refs/heads/evanrittenhouse/9327","pushedAt":"2024-01-01T16:07:14.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes","shortMessageHtmlLink":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes"}},{"before":"9aea48c7e6c88b54bd442eb4ac03bdbdece92c57","after":"11e572591684a36a1cd1e1d9b2f81219a2047266","ref":"refs/heads/evanrittenhouse/9327","pushedAt":"2024-01-01T16:05:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes","shortMessageHtmlLink":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes"}},{"before":null,"after":"9aea48c7e6c88b54bd442eb4ac03bdbdece92c57","ref":"refs/heads/evanrittenhouse/9327","pushedAt":"2024-01-01T03:57:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes","shortMessageHtmlLink":"Make RET504 also work with StmtAugAssign and StmtAnnAssign AST nodes"}},{"before":"fee0c6b3eef4cd3768782e86cb2213411d9419c7","after":"8ded960f9f91a99e173008baf60cbbf53d0214b1","ref":"refs/heads/evanrittenhouse/runtime_eval_base_class","pushedAt":"2023-11-06T16:17:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Detect runtime-evaluated base classes defined in the current file","shortMessageHtmlLink":"Detect runtime-evaluated base classes defined in the current file"}},{"before":null,"after":"fee0c6b3eef4cd3768782e86cb2213411d9419c7","ref":"refs/heads/evanrittenhouse/runtime_eval_base_class","pushedAt":"2023-11-06T04:38:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Detect runtime-evaluated base classes defined in the current file","shortMessageHtmlLink":"Detect runtime-evaluated base classes defined in the current file"}},{"before":"3112202a5bb1f1379ab2e08e6278d0e5e9889085","after":"9b89bf7d8abb8ae934af8bcdeab6989d21662726","ref":"refs/heads/main","pushedAt":"2023-10-29T19:16:57.000Z","pushType":"push","commitsCount":478,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Implement pylint import-outside-toplevel rule (C0415) (#5180)\n\n## Summary\r\n\r\nImplements pylint C0415 (import-outside-toplevel) — imports should be at\r\nthe top level of a file.\r\n\r\nThe great debate I had on this implementation is whether \"top-level\" is\r\none word or two (`toplevel` or `top_level`). I opted for 2 because that\r\nseemed to be how it is used in the codebase but the rule string itself\r\nuses one-word \"toplevel.\" 🤷 I'd be happy to change it as desired.\r\n\r\nI suppose this could be auto-fixed by moving the import to the\r\ntop-level, but it seems likely that the author's intent was to actually\r\nimport this dynamically, so I view the main point of this rule is to\r\nforce some sort of explanation, and auto-fixing might be annoying.\r\n\r\nFor reference, this is what \"pylint\" reports:\r\n```\r\n> pylint crates/ruff/resources/test/fixtures/pylint/import_outside_top_level.py\r\n************* Module import_outside_top_level\r\n...\r\ncrates/ruff/resources/test/fixtures/pylint/import_outside_top_level.py:4:4: C0415: Import outside toplevel (string) (import-outside-toplevel)\r\n```\r\n\r\nruff would now report:\r\n\r\n```\r\nimport_outside_top_level.py:4:5: PLC0415 `import` should be used only at the top level of a file\r\n |\r\n3 | def import_outside_top_level():\r\n4 | import string # [import-outside-toplevel]\r\n | ^^^^^^^^^^^^^ PLC0415\r\n |\r\n```\r\n\r\nContributes to https://github.com/astral-sh/ruff/issues/970.\r\n\r\n## Test Plan\r\n\r\nSnapshot test.","shortMessageHtmlLink":"Implement pylint import-outside-toplevel rule (C0415) (astral-sh#5180)"}},{"before":"93cc501aa73ee316d56ae41cbe9433a37c985591","after":"05462cec94b177b28b0a1878352a93f600c33fe1","ref":"refs/heads/4185_cli_respect_applicability","pushedAt":"2023-09-24T17:52:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"WIP: Migrating integration tests to new structure","shortMessageHtmlLink":"WIP: Migrating integration tests to new structure"}},{"before":"ec2edd088ce7f5490656a1ae082caadf8cfd6c4a","after":"93cc501aa73ee316d56ae41cbe9433a37c985591","ref":"refs/heads/4185_cli_respect_applicability","pushedAt":"2023-09-24T15:02:06.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Have CLI repsect rule applicability when fixing","shortMessageHtmlLink":"Have CLI repsect rule applicability when fixing"}},{"before":"aaf677b879e105d54f13d826750f435049f48fe0","after":"ec2edd088ce7f5490656a1ae082caadf8cfd6c4a","ref":"refs/heads/4185_cli_respect_applicability","pushedAt":"2023-09-24T14:26:38.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Have CLI repsect rule applicability when fixing","shortMessageHtmlLink":"Have CLI repsect rule applicability when fixing"}},{"before":"78261893026e7a4b7e0a09f2b073ae173c4ef74d","after":"aaf677b879e105d54f13d826750f435049f48fe0","ref":"refs/heads/4185_cli_respect_applicability","pushedAt":"2023-09-24T14:23:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Rename fix_unsafe to fix_suggested","shortMessageHtmlLink":"Rename fix_unsafe to fix_suggested"}},{"before":"ec2edd088ce7f5490656a1ae082caadf8cfd6c4a","after":"78261893026e7a4b7e0a09f2b073ae173c4ef74d","ref":"refs/heads/4185_cli_respect_applicability","pushedAt":"2023-09-24T00:46:03.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Rename fix_unsafe to fix_suggested","shortMessageHtmlLink":"Rename fix_unsafe to fix_suggested"}},{"before":"78261893026e7a4b7e0a09f2b073ae173c4ef74d","after":"ec2edd088ce7f5490656a1ae082caadf8cfd6c4a","ref":"refs/heads/4185_cli_respect_applicability","pushedAt":"2023-09-24T00:14:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Have CLI repsect rule applicability when fixing","shortMessageHtmlLink":"Have CLI repsect rule applicability when fixing"}},{"before":"f91bacbb94e1ba0dc56b15afe388fe1f6c92e3e8","after":"3112202a5bb1f1379ab2e08e6278d0e5e9889085","ref":"refs/heads/main","pushedAt":"2023-09-15T01:52:25.000Z","pushType":"push","commitsCount":245,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"[`flake8-logging`] Add `flake8_logging` boilerplate and first rule `LOG009` (#7249)\n\n## Summary\r\n\r\nAdds `LOG009` from\r\n[flake8-logging](https://github.com/adamchainz/flake8-logging). Also\r\nadds the boilerplate for a new plugin\r\n\r\nChecks for usages of undocumented `logging.WARN` constant and suggests\r\nreplacement with `logging.WARNING`.\r\n\r\n## Test Plan\r\n\r\n`cargo test` with fresh fixture\r\n\r\n## Issue links\r\n\r\nRefers: https://github.com/astral-sh/ruff/issues/7248","shortMessageHtmlLink":"[flake8-logging] Add flake8_logging boilerplate and first rule `L…"}},{"before":"27f5ce65f491e79f7b84c0a0fe57fdf6d936b9e4","after":"78261893026e7a4b7e0a09f2b073ae173c4ef74d","ref":"refs/heads/4185_cli_respect_applicability","pushedAt":"2023-09-15T01:16:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Rename fix_unsafe to fix_suggested","shortMessageHtmlLink":"Rename fix_unsafe to fix_suggested"}},{"before":null,"after":"4c816e7d7d7241a1be7b6b6546918af14a68d23d","ref":"refs/heads/6697_ordered_decorators","pushedAt":"2023-08-29T03:25:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Start filling in the map","shortMessageHtmlLink":"Start filling in the map"}},{"before":"897cce83b3aed5e0d81681c948df379978789397","after":"f91bacbb94e1ba0dc56b15afe388fe1f6c92e3e8","ref":"refs/heads/main","pushedAt":"2023-08-26T02:40:04.000Z","pushType":"push","commitsCount":148,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Avoid PEP 604 upgrades that lead to invalid syntax (#6888)\n\nCloses https://github.com/astral-sh/ruff/issues/6843.","shortMessageHtmlLink":"Avoid PEP 604 upgrades that lead to invalid syntax (astral-sh#6888)"}},{"before":"5d8864d6d73abe0418dd26256a76e5bdb16ba350","after":"27f5ce65f491e79f7b84c0a0fe57fdf6d936b9e4","ref":"refs/heads/4185_cli_respect_applicability","pushedAt":"2023-08-20T22:04:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Extract logic to FixableStatistics struct","shortMessageHtmlLink":"Extract logic to FixableStatistics struct"}},{"before":"b6d786fb10e5380192401a4e188edc10bd52c442","after":"0e268c91ab2a0b9ef9e10684353b6e2e38710421","ref":"refs/heads/evanrittenhouse_5073","pushedAt":"2023-08-17T02:56:31.000Z","pushType":"push","commitsCount":158,"pusher":{"login":"charliermarsh","name":"Charlie Marsh","path":"/charliermarsh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1309177?s=80&v=4"},"commit":{"message":"Update tests","shortMessageHtmlLink":"Update tests"}},{"before":"41caad126730a36bd7fb09ee13fffafc47d97d93","after":"cbc2e272adb820261cf812b7c658988e98d66cfe","ref":"refs/heads/evanrittenhouse/6555","pushedAt":"2023-08-16T12:18:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"evanrittenhouse","name":"Evan Rittenhouse","path":"/evanrittenhouse","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/84083822?s=80&v=4"},"commit":{"message":"Compiler panic?","shortMessageHtmlLink":"Compiler panic?"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEetiD5wA","startCursor":null,"endCursor":null}},"title":"Activity · evanrittenhouse/ruff"}