From a77e39249a7c044ead2303c45e6df63d0f60d175 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Sun, 21 Aug 2016 14:52:09 -0600 Subject: [PATCH] Add pc badge and fix lint errors --- changes.py | 1 + readme.md | 3 +++ setup.cfg | 1 + 3 files changed, 5 insertions(+) diff --git a/changes.py b/changes.py index 37082c0..1140fd9 100644 --- a/changes.py +++ b/changes.py @@ -14,6 +14,7 @@ .apply-syntax a { text-decoration: none; } ''' + class ApplySyntaxChangesCommand(sublime_plugin.WindowCommand): """Changelog command.""" diff --git a/readme.md b/readme.md index 63bb172..87ecb55 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,5 @@ [![Unix Build Status][travis-image]][travis-link] +[![Package Control Downloads][pc-image]][pc-link] # ApplySyntax ApplySyntax is a plugin for Sublime Text 2 and 3 that allows you to detect and apply the syntax of files that might not otherwise be detected properly. For example, files with the `.rb` extension are usually Ruby files, but when they are found in a Rails project, they could be RSpec spec files, Cucumber step files, Ruby on Rails files (controllers, models, etc), or just plain Ruby files. This is actually the problem I was trying to solve when I started working on this plugin. @@ -16,3 +17,5 @@ http://facelessuser.github.io/ApplySyntax/ [travis-image]: https://img.shields.io/travis/facelessuser/ApplySyntax/master.svg [travis-link]: https://travis-ci.org/facelessuser/ApplySyntax +[pc-image]: https://img.shields.io/packagecontrol/dt/ApplySyntax.svg +[pc-link]: https://packagecontrol.io/packages/ApplySyntax diff --git a/setup.cfg b/setup.cfg index c2424f9..b6c952b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,4 @@ [flake8] ignore=D202,D203 max-line-length=120 +exclude=site/*.py