Compare commits

...

2 Commits

2 changed files with 5 additions and 7 deletions

View File

@ -14,7 +14,7 @@
]);
cfg = ./mypy-config.ini;
in rec {
packages.tychk-watch = pkgs.writeScriptBin "tychk" "echo 'running mypy on change...' ; ${pkgs.watchexec}/bin/watchexec -e py ${python}/bin/mypy --config ${cfg} ${./.}";
packages.tychk-watch = pkgs.writeScriptBin "tychk" "echo 'running mypy on change...' ; ${pkgs.watchexec}/bin/watchexec -e py ${python}/bin/mypy --config ${cfg} .";
packages.tychk = pkgs.writeScriptBin "tychk" "${python}/bin/mypy ${./.} --config ${cfg}";
devShells.default = pkgs.mkShell {
packages = [ python ];

View File

@ -1,7 +1,5 @@
import matplotlib.pyplot as plt
def meow(x: int) -> None:
for _ in range(x):
print("meow", end="")
fig, ax = plt.subplots()
ax.plot([1, 2, 3, -3])
ax.set_xlabel("time")
ax.set_ylabel("swag")
plt.show()
meow(10)