c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

2.8K
active users

#ruff

4 posts4 participants0 posts today

Has anything changed recently with other people's #neovim setups and inline diagnostics no longer appearing?

I can see that #ruff diagnostics are working correctly, but they aren't showing up inline anymore. Is this a virtual text setting?

Anyone using #nvim v0.11's new simplified LSP config with #ruff server yet? I upgraded and tried out the simpler config last night, removed my old equivalent, and I can't get LSP to enable on a Python file. I've included vim.lsp.enable('python'), which matches the name of the server config I created. Will have to try again today, maybe with an otherwise empty nvim config and debug logging, see if I can figure it... Pointers to ruff specific docs or working examples appreciated.

Nous avons tous nos bonnes pratiques lorsqu'il s'agit de créer un nouveau #projet #Python, avec l'utilisation de patterns et d'outils éprouvés : lint avec #ruff et #mypy, hooks avec #precommit, tests avec #pytest, intégration continue #githubactions : github.com/neubig/starter-repo

Libre à chaque personne de faire évoluer le porojet selon ses propres goûts et contraintes.

An example starter repo for Python projects. Contribute to neubig/starter-repo development by creating an account on GitHub.
GitHubGitHub - neubig/starter-repo: An example starter repo for Python projectsAn example starter repo for Python projects. Contribute to neubig/starter-repo development by creating an account on GitHub.

💡 #TIL: Enable Automatic Inline Annotations in PR using Ruff in GitHub Actions

Want to see linting issues directly in your PR instead of digging through logs? 🕵️‍♂️ With Ruff and GitHub Actions, you can enable automatic inline annotations, making it easier to spot and fix issues.

Check out the full guide here: 🔗 til.sanyamkhurana.com/#/topics

til.sanyamkhurana.comSanyam Khurana's TILsA collection of Today I Learned (TIL) posts by Sanyam Khurana. Quick notes, coding tips, and discoveries.