Skip to content
Snippets Groups Projects
Commit ac68aa84 authored by roadscape's avatar roadscape
Browse files

gitignore test cache. disable R,C for test-lint

parent 0f04cde4
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,8 @@ lint
# OSX
.DS_Store
.pytest_cache/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
......
......@@ -45,7 +45,7 @@ test-without-lint:
py.test --cov=hive
test-pylint:
py.test --pylint -m pylint $(PROJECT_NAME)
py.test --pylint -m pylint $(PROJECT_NAME) --pylint-error-types WEF
fmt:
yapf --recursive --in-place --style pep8 .
......
......@@ -10,7 +10,7 @@ from hive.indexer.posts import Posts
# -----------------
def process_json_community_op(account, op_json, date):
"""Validates community op and apply state changes to db."""
#pylint: disable=line-too-long
#pylint: disable=line-too-long,unused-variable
cmd_name, cmd_op = op_json # ['flagPost', {community: '', author: '', ...}]
commands = list(flatten(PERMISSIONS.values()))
......
# -*- coding: utf-8 -*-
# pylint: disable=unused-import,unused-variable,wildcard-import
from hive import *
from hive.db import *
from hive.utils import *
......@@ -8,7 +10,5 @@ from hive.server import *
from hive.indexer import *
from hive.community import *
# pylint: disable=unused-import,unused-variable
def test_import():
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment