aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-05-30 18:26:38 -0700
committerGravatar MarkKoz <[email protected]>2019-05-30 18:26:38 -0700
commit6eb7afc321d7e6d2aeebcb90e4bb18cd5e43a6e2 (patch)
tree4276a95dca15c07205c5b2981b0a2e5ff9b71e91
parentRefactor NsJail (diff)
Revert "Lint tests"
This reverts commit e75c764f693c3688a59af0d679e0d3e94f003503.
-rw-r--r--.pre-commit-config.yaml16
-rw-r--r--tests/.flake815
2 files changed, 1 insertions, 30 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4f97db9..5d2d40a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,7 +3,6 @@ repos:
rev: v2.0.0
hooks:
- id: flake8
- name: Flake8 (snekbox)
args: [--config=.flake8]
exclude: ^tests/
additional_dependencies: [
@@ -16,17 +15,4 @@ repos:
flake8-formatter-junit-xml,
flake8-quotes
]
- - id: flake8
- name: Flake8 (tests)
- args: [--config=tests/.flake8]
- exclude: ^(?!tests/)
- additional_dependencies: [
- flake8-docstrings,
- flake8-bugbear,
- flake8-import-order,
- flake8-tidy-imports,
- flake8-todo,
- flake8-string-format,
- flake8-formatter-junit-xml,
- flake8-quotes
- ]
+
diff --git a/tests/.flake8 b/tests/.flake8
deleted file mode 100644
index c1c5031..0000000
--- a/tests/.flake8
+++ /dev/null
@@ -1,15 +0,0 @@
-[flake8]
-max-line-length=100
-application_import_names=snekbox,tests
-ignore=
- P102,B311,W503,E226,S311,
- # Missing Docstrings
- D1,
- # Docstring Whitespace
- D203,D212,D214,D215,
- # Docstring Quotes
- D301,D302,
- # Docstring Content
- D400,D401,D402,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414
-import-order-style=pycharm
-inline-quotes = "