Title: py. syntax is doing weird things with the clj-kondo linter · Issue #268 · clj-python/libpython-clj · GitHub
Open Graph Title: py. syntax is doing weird things with the clj-kondo linter · Issue #268 · clj-python/libpython-clj
X Title: py. syntax is doing weird things with the clj-kondo linter · Issue #268 · clj-python/libpython-clj
Description: The linter is doing something weird, because it assumes that py/py. is actually a reference to the symbol "py/py" with no ".". I'm unable to write a custom :lint-as for this, because clj-kondo doesn't consider the possibility that "py." ...
Open Graph Description: The linter is doing something weird, because it assumes that py/py. is actually a reference to the symbol "py/py" with no ".". I'm unable to write a custom :lint-as for this, because clj-kondo does...
X Description: The linter is doing something weird, because it assumes that py/py. is actually a reference to the symbol "py/py" with no ".". I'm unable to write a custom :lint-as for this...
Opengraph URL: https://github.com/clj-python/libpython-clj/issues/268
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"py. syntax is doing weird things with the clj-kondo linter","articleBody":"The linter is doing something weird, because it assumes that py/py. is actually a reference to the symbol \"py/py\" with no \".\". \r\n\r\n\r\nI'm unable to write a custom :lint-as for this, because clj-kondo doesn't consider the possibility that \"py.\" could represent a macro. ingoring :unresolved-var doesn't quite fill my usecase, as I want to remove the red squiglies under the second argument of the py. call as well.\r\n\r\nI think clj-kondo is technically in the right here, because py. isn't supported clojure syntax, although I do like the py. notation, and it'd be nice if it was supported. I don't ask to change the notation, but it'd be nice to have a workaround that fixes these tooling issues.\r\n\r\nhttps://clojure.org/reference/reader#_reader_forms\r\n\r\n\u003e Symbols beginning or ending with '.' are reserved by Clojure. \r\n\r\n\r\nGreat Library! -- Sammy","author":{"url":"https://github.com/sstraust","@type":"Person","name":"sstraust"},"datePublished":"2024-12-08T01:57:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/268/libpython-clj/issues/268"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:379c1123-a300-55fb-4b16-bb5af7c0b83c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE7E:115C7:1669E5:1DE1B5:6A6021DE |
| html-safe-nonce | 19abee47f0afc6539b2e7cc19db2013ca5b69bbab68c68e8b2ff4f869f2a9278 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTdFOjExNUM3OjE2NjlFNToxREUxQjU6NkE2MDIxREUiLCJ2aXNpdG9yX2lkIjoiMzU5NTQzNTI0MTE2MTg5MjMxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8f2ec3750b5098d1d9816f5ef1202d9f288735bf95a08a49080bedb8e6b71f51 |
| hovercard-subject-tag | issue:2724901864 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/clj-python/libpython-clj/268/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4e75d5976b9f62aa04df304da1870056ec083ae4d63dcbf7c73e594e6e62e87c/clj-python/libpython-clj/issues/268 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4e75d5976b9f62aa04df304da1870056ec083ae4d63dcbf7c73e594e6e62e87c/clj-python/libpython-clj/issues/268 |
| og:image:alt | The linter is doing something weird, because it assumes that py/py. is actually a reference to the symbol "py/py" with no ".". I'm unable to write a custom :lint-as for this, because clj-kondo does... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sstraust |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7e86a727ba4abf81d0638c5ead57286c17d3b2706f57813445c4316d8e848673 |
| turbo-cache-control | no-preview |
| go-import | github.com/clj-python/libpython-clj git https://github.com/clj-python/libpython-clj.git |
| octolytics-dimension-user_id | 60827878 |
| octolytics-dimension-user_login | clj-python |
| octolytics-dimension-repository_id | 187095617 |
| octolytics-dimension-repository_nwo | clj-python/libpython-clj |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 187095617 |
| octolytics-dimension-repository_network_root_nwo | clj-python/libpython-clj |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f13d8ac548fb76838b3d703c7fe2100887547d0e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width