Skip to content
Snippets Groups Projects
Select Git revision
  • 1b2e614868a80be5b6444b6f029900367e4869fa
  • master default protected
  • emoUS
  • add_default_vectorizer_and_pretrained_loading
  • clean_code
  • readme
  • issue127
  • generalized_action_dicts
  • ppo_num_dialogues
  • crossowoz_ddpt
  • issue_114
  • robust_masking_feature
  • scgpt_exp
  • e2e-soloist
  • convlab_exp
  • change_system_act_in_env
  • pre-training
  • nlg-scgpt
  • remapping_actions
  • soloist
20 results

test_MDBT_RulePolicy_TemplateNLG.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    flycheck-clolyze.el 1.48 KiB
    ;;; flycheck-clolyze.el --- Add Clolyze to to flycheck -*- lexical-binding: t; -*-
    
    ;; Copyright (C) 2019 Daniel Laps <daniel.laps@hhu.de>
    ;;
    ;; URL: https://github.com/DLaps/flycheck-clolyze
    ;; Author: Daniel Laps <daniel.laps@hhu.de>
    ;; Version: 1.0.0
    ;; Package-Requires: ((flycheck "0.25") (emacs "24"))
    
    ;;; Commentary:
    
    ;; This package adds Clolyze to flycheck.  To use it, add
    ;; to your init.el:
    ;; (require 'flycheck-clolyze)
    
    ;;; License:
    
    ;; This file is not part of GNU Emacs.
    
    ;; This program is free software: you can redistribute it and/or modify
    ;; it under the terms of the GNU General Public License as published by
    ;; the Free Software Foundation, either version 3 of the License, or
    ;; (at your option) any later version.
    
    ;; This program is distributed in the hope that it will be useful,
    ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
    ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    ;; GNU General Public License for more details.
    
    ;; You should have received a copy of the GNU General Public License
    ;; along with this program.  If not, see <https://www.gnu.org/licenses/>.
    
    ;;; Code:
    (require 'flycheck)
    
    (flycheck-define-checker clolyze
      "This checker uses clolyze to check clojure code."
      :command ("lein" "clolyze" ":linting")
      :error-patterns ((warning  line-start (file-name) ":" line ":" column ":" (message) line-end))
      :modes clojure-mode)
    
    (add-to-list 'flycheck-checkers 'clolyze)
    
    (provide 'flycheck-clolyze)
    ;;; flycheck-clolyze.el ends here