Be careful while using Github actions for Windows.
By default Windows uses Powershell not bash, but you may prefer to explicitly choose bash as a shell.
See Github action documentation
You can find some details about using Powershell here
Here is an example of flake8 plugin that prevents you from using numpy random fn.
A nice example of analyzing a source code in python.
Aaaah! Today I faced a strange error message from docker.
=> ERROR [internal] load metadata for docker.io/library/python:3.8-slim-buster 0.6s ------ > [internal] load metadata for docker.io/library/python:3.8-slim-buster: ------ failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop.exe": executable file not found in $PATH, out: `` Thanks to Bertrand C for the solution.
In ~/.docker/config.json change credsStore to credStore Source
Here is an interesting article which explains another way to store dotfiles.
In a couple of words:
store dotfiles into a git repository clone your git repository using a bare more and make working directory pointing to ${HOME} use dotfiles directly from the repository (without symbolic links) The only disadvantage is that all dotfiles must be inside one repository. It is not scalable approach in that sense that typically configuration files for the different programs are splitted into multiple repositories.
Interesting statistics about academic salaries
Source