Skip to content

Instantly share code, notes, and snippets.

View oliverandrich's full-sized avatar
🏠
Working from home

Oliver Andrich oliverandrich

🏠
Working from home
View GitHub Profile
@oliverandrich
oliverandrich / pyproject.toml
Last active March 12, 2023 19:55
My current ruff configuration in Django projects. https://beta.ruff.rs/docs/
[tool.ruff]
select = ["A", "B", "C4", "E", "F", "I", "DJ", "INP", "TID", "UP", "YTT"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["A", "B", "C4", "E", "F", "I", "TID", "UP"]
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
//
/* You may copy+paste this file and use it as it is.
*
* If you make changes to your about:config while the program is running, the
* changes will be overwritten by the user.js when the application restarts.
*
* To make lasting changes to preferences, you will have to edit the user.js.
*/
/****************************************************************************