Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump version #53

Merged
merged 1 commit into from
Jan 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ enviornment: ## Actiate local python environmant

clean: clean-build ## remove all build, test, coverage and Python artifacts

upgrade: clean ## upgrade all dependencies
python -m pip install --upgrade pip
pip install --upgrade --pre -rrequirements.txt

clean-build: ## remove build artifacts
rm -frv build/
rm -frv dist/
Expand All @@ -83,6 +79,8 @@ lint: ## run linters on codebase
prospector tests

test: lint ## run tests quickly with the default Python
pip install --upgrade --force-reinstall --pre --no-cache torrentfile
pip install -e .
pytest tests --cov=torrentfileQt --cov=tests
coverage report
coverage xml -o coverage.xml
Expand All @@ -91,25 +89,12 @@ test: lint ## run tests quickly with the default Python
push: clean test ## push changes to remote
git add .
git commit -m "$m"
git push -u origin other

branch: ## create dev git branch
git stash
git checkout main
git pull
git branch -d dev
git branch dev
git push -u origin dev
git stash pop
git push

release: clean test ## release to pypi
python setup.py sdist bdist_wheel bdist_egg
twine upload dist/*

install: ## install app in eedit mode
pip install --upgrade --force-reinstall --pre torrentfile pyben
pip install -e .

build: clean install
python setup.py sdist bdist_wheel bdist_egg
rm -rfv ../runner
Expand All @@ -130,4 +115,4 @@ build: clean install
cp -rfv ../runner/dist/* ./dist/
@python -c "$$FIXES"

full: clean environment upgrade test push install release build
full: clean test push release build
Binary file added assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions coverage.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<coverage version="6.2" timestamp="1643073409415" lines-valid="1560" lines-covered="1559" line-rate="0.9994" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<coverage version="6.2" timestamp="1643074332148" lines-valid="1560" lines-covered="1559" line-rate="0.9994" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
Expand Down Expand Up @@ -1550,9 +1550,9 @@
<line number="157" hits="1"/>
<line number="158" hits="1"/>
<line number="159" hits="1"/>
<line number="160" hits="0"/>
<line number="160" hits="1"/>
<line number="161" hits="1"/>
<line number="162" hits="1"/>
<line number="162" hits="0"/>
<line number="164" hits="1"/>
<line number="165" hits="1"/>
<line number="166" hits="1"/>
Expand Down