diff --git a/.bashrc b/.bashrc
index 3d51f2a961352d4251bde446f1ec4b4d25bd0564..df3cd47116772e6f961f2fae87b182bab2a91596 100644
--- a/.bashrc
+++ b/.bashrc
@@ -192,6 +192,10 @@ ansible_all () {
     popd
 }
 
+black8() {
+    black "$@" && flake8 "$@"
+}
+
 container_name() {
     if [ -f /run/.containerenv ]
     then