#### note: the central place for my beets docs is in t.org
-## note: begin u24 message upon pip install
-# If you wish to install a non-Debian-packaged Python package,
-# create a virtual environment using python3 -m venv path/to/venv.
-# Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
-# sure you have python3-full installed.
-
-# If you wish to install a non-Debian packaged Python application,
-# it may be easiest to use pipx install xyz, which will manage a
-# virtual environment for you. Make sure you have pipx installed.
-
-# See /usr/share/doc/python3.12/README.venv for more information.
-## end
-## in ubuntu, you can install python3-venv
-
-# ### begin msg from below without
-# # error: externally-managed-environment
-
-# # × This environment is externally managed
-# # ╰─> To install Python packages system-wide, try apt install
-# # python3-xyz, where xyz is the package you are trying to
-# # install.
-
-# # If you wish to install a non-Debian-packaged Python package,
-# # create a virtual environment using python3 -m venv path/to/venv.
-# # Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
-# # sure you have python3-full installed.
-
-# # If you wish to install a non-Debian packaged Python application,
-# # it may be easiest to use pipx install xyz, which will manage a
-# # virtual environment for you. Make sure you have pipx installed.
-
-# # See /usr/share/doc/python3.12/README.venv for more information.
-
-# # note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
-# # hint: See PEP 668 for the detailed specification.
-# ### end msg
-# #
-# # The instructions from the message of course dont work in trisquel. I
-# # tried using --break-system-packages, but then trying to use pipx
-# # failed with something like: no module ensurepath, and again
-# # complained that I should install system packages, but this time
-# # there was no alternative. bleh
-# if [[ ! -e ~/.local/bin/pip ]]; then
-# tmp=$(mktemp)
-# wget -O$tmp https://bootstrap.pypa.io/get-pip.py
-
-# python3 $tmp --user
-# hash -r
-# python3 -m pip install --user pipx --break-system-packages
-# # todo: periodically run this:
-# # Upgrade pipx with python3 -m pip install --user --upgrade pipx
-# fi
+# I got rather frustrated with pip and pipx on trisquel giving a bunch
+# of confusing errors, so, trying out uv.
+
+if ! type -p uv &>/dev/null; then
+ curl -LsSf https://astral.sh/uv/install.sh | sh
+fi
:
# if we get oomed, try enabling this in sysctl to disable overcommit.
# vm.overcommit_memory = 2
- fi
+ fi
fi
#####
# exclude_rules = LT02
#ignore = lexing,linting,parsing,templating
+# default 80.
+max_line_length = 120
+
+
+# light up the cores.
+processes = -1
+
+# by default it skips over big files.
+large_file_skip_byte_limit = 0
[sqlfluff:indentation]
tab_space_size = 2
[sqlfluff:rules:capitalisation.keywords]
capitalisation_policy = lower
+[sqlfluff:rules:capitalisation.identifiers]
+extended_capitalisation_policy = lower
+[sqlfluff:rules:capitalisation.functions]
+extended_capitalisation_policy = lower
+[sqlfluff:rules:capitalisation.literals]
+capitalisation_policy = lower
+[sqlfluff:rules:capitalisation.types]
+extended_capitalisation_policy = lower