@@ -44,7 +44,7 @@ The trick is:
44443 . If you don't know what the output file will be then just fake one. Like
4545 when installing the packages I ` touch ./venv/.installed ` so it knows that
4646 step has been done and won't run it again.
47- 4 . Remember to remove those files in ` clean.sh ` . Remove everything in there.
47+ 4 . Remember to remove those files in ` clean.sh ` .
48485 . Try to avoid use Make's advanced features. In a world where you can do
4949 anything, what you * don't* do is what defines you.
5050
5353
5454### Linting and commit checks
5555
56- I'm using ` ruff ` now for formatting and linting, dropping the ` flake8 ` , ` black `
57- and ` isort ` mess that I used before.
56+ I'm using ` ruff ` for formatting and linting.
5857
5958Part of the ` make dev ` setup installs ` pre-commit ` , which will make sure that
6059commits are up to a certain standard. The provided config file runs the code
6160formatters, linters and a few other checks. Read ` .pre-commit-config.yaml ` and
62- see what's going on in there. ` pre-commit ` is very slow and very annoying, but
63- it forces code quality which mostly makes up for the inconvenience of blocking
64- my commits.
61+ see what's going on in there. ` pre-commit ` is slow and annoying, but it forces
62+ code quality which mostly makes up for the inconvenience of blocking my commits.
6563
6664You can use ` git commit -n ` to skip the pre-commit tests. And then
6765` pre-commit run --all-files ` later, when you feel up to the punishment.
6866
6967### IDE
7068
71- I'm using VS Code when I use an IDE. It works everywhere and supports all the
72- things that I need. I commit my config to source control so anyone can open the
73- project dir and start hacking with a working debugger and tests auto-detected.
74-
75- This modern paradigm where the IDE settings belong to the project rather than
76- the user means it's appropriate to put them in source control. If your
77- colleagues disagree, they're wrong.
78-
79- The config also provides recommendations for extensions, which you'll be
80- prompted to install when you open the project for the first time.
81-
82- I could (and sometimes do) go one step further and use devcontainers, but at
83- time of writing it's still a bit fiddly to get set up. Plus I've not been stuck
84- in Windows for a while. If you're in Windows, install WSL and get a proper
85- console.
69+ I'm not even using an IDE anymore, I use agents and vim on the command line. I
70+ was using vscode but it's become bloated and gets in my way.
8671
8772### Package layout
8873
@@ -158,9 +143,8 @@ tag. Docs in the codebase can be edited alongside new features and have a much
158143richer history. That said, docs themselves are best if they are temporary; code
159144that reads like plain English and executable documentation in the form of tests
160145are superior. Tests are documentation that are proven to be up-to-date every
161- time the test suite runs. If you write more than that, then you should probably
162- be doing something more productive instead, like writing some code or arguing
163- with an AI agent about some code.
146+ time the test suite runs. If you or your agents write more than that, then
147+ you're probably wasting your time and money.
164148
165149## License choice
166150
0 commit comments