Skip to content

Commit

Permalink
Merge pull request #50 from alexpdev/devel
Browse files Browse the repository at this point in the history
Functioning with new torrentfile version 0.2.0
  • Loading branch information
alexpdev authored Dec 25, 2021
2 parents ee49c28 + ac99852 commit 356c016
Show file tree
Hide file tree
Showing 15 changed files with 821 additions and 845 deletions.
4 changes: 0 additions & 4 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@ enabled = true

[analyzers.meta]
runtime_version = "3.x.x"

[[transformers]]
name = "isort"
enabled = true
3 changes: 1 addition & 2 deletions .github/workflows/workflow.yml → .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Workflow for python project
name: CI

on: [push, pull_request]

Expand All @@ -14,7 +14,6 @@ jobs:
with:
python-version: 3.9


- name: Codacy Coverage Report
uses: codacy/codacy-coverage-reporter-action@v1.1
with:
Expand Down
12 changes: 5 additions & 7 deletions .prospector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ doc-warnings: true
test-warnings: true
member-warnings: true

bandit:
run: true
options:
config: pyproject.toml

pep257:
run: true
disable:
Expand Down Expand Up @@ -34,12 +39,6 @@ pylint:
disable:
- R1729

bandit:
run: true
assert_used:
skips: ['*_test.py', 'test_*.py']


pyroma:
run: true

Expand All @@ -48,7 +47,6 @@ pyflakes:
disable:
- F401


mccabe:
run: true
disable:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ lint: ## run linters on codebase
prospector tests

test: lint ## run tests quickly with the default Python
pytest tests --cov=torrentfileQt --cov=tests --pylint --maxfail=2
pytest tests --cov=torrentfileQt --cov=tests
coverage report
coverage xml -o coverage.xml
bash codacy.sh report -r coverage.xml
Expand Down
Loading

0 comments on commit 356c016

Please sign in to comment.