From e73f763eebadc268062e3d1a9cbc1cb91082f569 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 16 May 2018 19:26:26 -0700 Subject: more CI tweaks --- .coveragerc | 3 --- .gitlab-ci.yml | 7 ++++--- .pylintrc | 11 ----------- python/.coveragerc | 3 +++ python/.pylintrc | 11 +++++++++++ 5 files changed, 18 insertions(+), 17 deletions(-) delete mode 100644 .coveragerc delete mode 100644 .pylintrc create mode 100644 python/.coveragerc create mode 100644 python/.pylintrc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 6235f57d..00000000 --- a/.coveragerc +++ /dev/null @@ -1,3 +0,0 @@ -[run] -omit = tests/* -source = . diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 02f1b781..8058503f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,8 +17,8 @@ rust_build: - cargo build --release artifacts: paths: - - rust/target/release - - rust/target/doc + - rust/target/release/fatcat* + - rust/target/doc/fatcat* expire_in: 1 month python_unittest_and_lint: @@ -32,4 +32,5 @@ python_unittest_and_lint: - cd python - pipenv install --dev --deploy - pipenv run pytest --cov - - pipenv run pylint --disable bad-continuation,arguments-differ,unidiomatic-typecheck fatcat + # Still too rigorous + #- pipenv run pylint --disable bad-continuation,arguments-differ,unidiomatic-typecheck fatcat diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index 2a7b9797..00000000 --- a/.pylintrc +++ /dev/null @@ -1,11 +0,0 @@ -[MESSAGES CONTROL] -# TODO: should re-enable some of these -disable=C0323,W0142,C0301,C0103,C0111,E0213,C0302,C0203,W0703,R0201,W0223,bad-continuation,arguments-differ,unidiomatic-typecheck,unused-wildcard-import,no-member,cyclic-import,too-few-public-methods,wildcard-import,too-many-locals,too-many-ancestors,unused-import - -[REPORTS] -output-format=colorized -include-ids=yes - -[MISCELLANEOUS] -# List of note tags to take in consideration, separated by a comma. -notes=FIXME,XXX,DELETEME diff --git a/python/.coveragerc b/python/.coveragerc new file mode 100644 index 00000000..6235f57d --- /dev/null +++ b/python/.coveragerc @@ -0,0 +1,3 @@ +[run] +omit = tests/* +source = . diff --git a/python/.pylintrc b/python/.pylintrc new file mode 100644 index 00000000..2a7b9797 --- /dev/null +++ b/python/.pylintrc @@ -0,0 +1,11 @@ +[MESSAGES CONTROL] +# TODO: should re-enable some of these +disable=C0323,W0142,C0301,C0103,C0111,E0213,C0302,C0203,W0703,R0201,W0223,bad-continuation,arguments-differ,unidiomatic-typecheck,unused-wildcard-import,no-member,cyclic-import,too-few-public-methods,wildcard-import,too-many-locals,too-many-ancestors,unused-import + +[REPORTS] +output-format=colorized +include-ids=yes + +[MISCELLANEOUS] +# List of note tags to take in consideration, separated by a comma. +notes=FIXME,XXX,DELETEME -- cgit v1.2.3