Compare commits
2 Commits
60d813c804
...
e9ff270f34
Author | SHA1 | Date | |
---|---|---|---|
e9ff270f34 | |||
8b28ffe2aa |
|
@ -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 ];
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user