 
 (add-hook 'python-mode-hook
           #'(lambda ()
+              (flycheck-mode t)
+
               (use-package py-autopep8
                 :config (py-autopep8-enable-on-save))
 

                (bind-keys :map js-mode-map
                           ("C-c C-f" . eslintd-fix)))

              (use-package company-tern
                :config (add-to-list 'company-backends 'company-tern))

              (use-package flow-minor-mode
                :config (flow-minor-mode t))

              (use-package company-flow
                :config (add-to-list 'company-backends 'company-flow))

              (use-package flycheck-flow
                :config
                (flycheck-add-next-checker 'javascript-eslint 'javascript-flow 'append)
                (flycheck-add-next-checker 'javascript-flow 'javascript-flow-coverage 'append))))

;; TypeScript
(use-package typescript-mode

           ;; Rebind undo to undo-tree visualizer
           ("C-x u"       . undo-tree-visualize)
           ("C-c e f"     . byte-compile-file))

;; Replace the major mode name with its icon and move the buffer name from the
;; mode line to the header line
