Skip to content

Commit

Permalink
ENH: Enable markdownlint on CodeClimate
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Dec 9, 2020
1 parent d73a0df commit 8f0c974
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ plugins:
E501:
enabled: false

markdownlint:
enabled: true
issue_override:
severity: minor

exclude_patterns:
- "src/metpy/io/_nexrad_msgs/msg*.py"
- "src/metpy/io/metar_parse.peg"
Expand Down
6 changes: 6 additions & 0 deletions .mdl_style.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
all
rule 'MD013', :line_length => 95
rule 'MD026', :punctuation => ".,;:!"
exclude_rule 'MD002'
exclude_rule 'MD034'
exclude_rule 'MD041'
2 changes: 2 additions & 0 deletions .mdlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
style '.mdl_style.rb'
ignore_front_matter true

0 comments on commit 8f0c974

Please sign in to comment.