This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Checker for unneccessary use of str() in format() arguments.""" | |
import six | |
import astroid | |
from pylint.checkers import BaseChecker, utils | |
from pylint.interfaces import IAstroidChecker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$script = <<'SCRIPT' | |
echo "elixir packaging" | |
# -------------------------------------- | |
# Change to the vagrant shared directory | |
# -------------------------------------- | |
cd /vagrant | |
# ------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
" TechWordsToAvoid: https://wynnnetherland.com/linked/2014010902/words-to-avoid-in-tech-writing | |
" SportsballWords: https://www.ehtc.com/resources/news-articles/bid/87767/Sports-The-Lingo-of-Business, https://www.nytimes.com/2013/07/07/jobs/going-the-distance-with-sports-analogies.html | |
let badwords=[ {'name': 'TechWordsToAvoid', 'regexp': '/\c\<\(obviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however\|so\|easy\)\>/'}, | |
\ {'name': 'SportsballWords', 'regexp': '/\c\<\(ball\|base\|blow\|bounce\|corner\|course\|court\|dive\|dunk\|field\|game\|hit\|hitters\|home\srun\|huddle\|hurdle\|jump\|kick\|league\|lose\|nine\syards\|pace\|par\|play\|punt\|rookie\|scrum\|shot\|sprint\|strike\|swing\|tackle\|team\|throw\|touch\|win\)\>/'} | |
\ ] | |
for bw in badwords | |
execute 'syntax match ' . bw.name . ' ' . bw.regexp |