Skip to content

add_linter helper script#90

Merged
macbre merged 4 commits intomasterfrom
add_linter_helper
Jan 7, 2018
Merged

add_linter helper script#90
macbre merged 4 commits intomasterfrom
add_linter_helper

Conversation

@macbre
Copy link
Owner

@macbre macbre commented Jan 7, 2018

$ add_linter 89 'empty_table'
INFO     Creating a new linter: 0089 - empty-table ...
INFO     Add SQL schema and log files (sql/0089-empty-table) ...
INFO     ... sql/0089-empty-table.sql created
INFO     ... sql/0089-empty-table-log created
INFO     Add Python code ...
INFO     ... indexdigest/linters/linter_0089_empty_table.py created
INFO     Add a test ...
INFO     ... indexdigest/test/linters/test_0089_empty-table.py created

id is taken from GitHub issue - #89

This creates the following files:

	indexdigest/linters/linter_0089_empty_table.py
	indexdigest/test/linters/test_0089_empty-table.py
	sql/0089-empty-table-log
	sql/0089-empty-table.sql

@macbre macbre added this to the v1.0 milestone Jan 7, 2018
@macbre macbre merged commit 2cfbd2f into master Jan 7, 2018
@macbre macbre deleted the add_linter_helper branch January 7, 2018 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant