-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from steemit/refactor
Refactor
- Loading branch information
Showing
234 changed files
with
32,242 additions
and
5,430 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/python:3.6 | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- run: echo "Ignore CircleCI detected dependencies" | ||
- run: docker build -t steemit/sbds . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,3 +54,6 @@ local.db | |
*.db | ||
envfile | ||
/deploy | ||
Pipfile.lockdump.sql | ||
blocks.json | ||
build_dir |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
|
||
[*.py] | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# isort config | ||
force_single_line=True | ||
from_first=False | ||
|
||
# Tab indentation (no size specified) | ||
[Makefile] | ||
indent_style = tab | ||
|
||
# Indentation override for all JS under lib directory | ||
[lib/**.js] | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
|
||
# Matches the exact files either package.json or .travis.yml | ||
[{package.json,.travis.yml}] | ||
indent_style = space | ||
indent_size = 2 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
- repo: git://github.com/pre-commit/pre-commit-hooks | ||
sha: v0.9.5 | ||
hooks: | ||
- id: check-ast | ||
- id: trailing-whitespace | ||
- id: check-byte-order-marker | ||
- id: check-case-conflict | ||
- id: check-executables-have-shebangs | ||
- id: check-json | ||
- id: check-yaml | ||
- id: check-symlinks | ||
- id: check-case-conflict | ||
- id: debug-statements | ||
- id: check-merge-conflict | ||
- id: detect-aws-credentials | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: fix-encoding-pragma | ||
- id: mixed-line-ending | ||
- id: autopep8-wrapper | ||
args: ['-i', '-j 4','--max-line-length=100', '-a'] | ||
#- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs | ||
# sha: v1.1.0 | ||
# hooks: | ||
# - id: dockerfile_lint | ||
- repo: git://github.com/Lucas-C/pre-commit-hooks | ||
sha: v1.1.4 | ||
hooks: | ||
- id: remove-tabs | ||
exclude: Makefile | ||
- repo: git://github.com/detailyang/pre-commit-shell | ||
sha: 1b26bf757e6d5b9bfed2566339c6464f44779678 | ||
hooks: | ||
- id: shell-lint | ||
files: run$ | ||
- repo: local | ||
hooks: | ||
- id: check-bash-syntax | ||
name: Check Shell scripts syntax corectness | ||
language: system | ||
entry: bash -n | ||
files: run$ |
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
Oops, something went wrong.