summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichal Nowikowski <godfryd@gmail.com>2014-07-25 14:07:18 +0200
committerMichal Nowikowski <godfryd@gmail.com>2014-07-25 14:07:18 +0200
commite94abbd0d3a214b628133b496d9a65171e8ad382 (patch)
tree15287f75444f95bbf19fe5365b30a5f39c6de152 /test
parentaf2dbfc0d0952dfe4f039627101d5d60fb415882 (diff)
downloadpylint-e94abbd0d3a214b628133b496d9a65171e8ad382.tar.gz
Added two checkers for mixed line endings and for unexpected line endings.
Diffstat (limited to 'test')
-rw-r--r--test/functional/line_endings.args2
-rw-r--r--test/functional/line_endings.py4
-rw-r--r--test/functional/line_endings.txt0
3 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/line_endings.args b/test/functional/line_endings.args
new file mode 100644
index 0000000..95532ea
--- /dev/null
+++ b/test/functional/line_endings.args
@@ -0,0 +1,2 @@
+[Format]
+expected-line-ending-format=LF
diff --git a/test/functional/line_endings.py b/test/functional/line_endings.py
new file mode 100644
index 0000000..c8c7141
--- /dev/null
+++ b/test/functional/line_endings.py
@@ -0,0 +1,4 @@
+"mixing line endings are not welcome"
+
+CONST = 1
+
diff --git a/test/functional/line_endings.txt b/test/functional/line_endings.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/functional/line_endings.txt