From add067c976fd5934fd71b83a705f8eac57b13878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Cort=C3=A9s?= Date: Sun, 5 Jul 2020 21:20:48 -0500 Subject: [PATCH] chore: replace radon with xenon --- .pre-commit-config.yaml | 6 +++--- requirements_dev.txt | 1 + run_radon.sh | 2 +- run_xenon.sh | 2 ++ 4 files changed, 7 insertions(+), 4 deletions(-) create mode 100755 run_xenon.sh diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a20e2b0..c1eee1c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,9 +8,9 @@ repos: - id: flake8 - repo: local hooks: - - id: radon - name: radon - entry: run_radon.sh + - id: xenon + name: xenon + entry: run_xenon.sh language: script types: [python] - repo: local diff --git a/requirements_dev.txt b/requirements_dev.txt index e8b75e8..0760f13 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -4,3 +4,4 @@ pytest-cov==2.10.0 radon==4.1.0 Sphinx==3.1.1 sphinx-rtd-theme==0.5.0 +xenon==0.7.0 diff --git a/run_radon.sh b/run_radon.sh index d5b9ee3..28a7dd2 100755 --- a/run_radon.sh +++ b/run_radon.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -radon cc -a -s -nb nyoibo +radon cc -a -s nyoibo diff --git a/run_xenon.sh b/run_xenon.sh new file mode 100755 index 0000000..0396dcf --- /dev/null +++ b/run_xenon.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +xenon -b A -m A -a A nyoibo