Skip to content

Commit

Permalink
chore: replace radon with xenon
Browse files Browse the repository at this point in the history
  • Loading branch information
Julián Cortés committed Jul 6, 2020
1 parent 8e0415b commit add067c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion run_radon.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
radon cc -a -s -nb nyoibo
radon cc -a -s nyoibo
2 changes: 2 additions & 0 deletions run_xenon.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
xenon -b A -m A -a A nyoibo

0 comments on commit add067c

Please sign in to comment.