Skip to content

Commit 03125a3

Browse files
authored
Merge pull request #55 from alexpdev/dev
Version 0.5.0
2 parents 1da08e9 + 3fa5ecb commit 03125a3

31 files changed

+2153
-577
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# TorrentFile
22

3+
## Version 0.5.0
4+
5+
### Added v0.5.0
6+
7+
- Slew of new unit tests
8+
- Stricter linting features
9+
- Alternative method of -re-check feature
10+
11+
### Fixed v0.5.0
12+
13+
- Bug Fixes
14+
- CLI help formatting errors
15+
16+
---------------------
17+
318
## Version 0.4.8
419

520
### Changes v0.4.8

Makefile

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: clean help full lint build environment test docs coverage push
1+
.PHONY: clean help full lint build environment test docs push
22
.DEFAULT_GOAL := help
33

44
define BROWSER_PYSCRIPT
@@ -51,22 +51,18 @@ lint: environment ## Check for styling errors
5151
autopep8 --recursive torrentfile tests
5252
isort torrentfile tests
5353
pydocstyle torrentfile tests
54-
pyroma .
54+
pycodestyle torrentfile tests
5555
pylint torrentfile tests
56+
pyroma .
5657
prospector torrentfile
5758
prospector tests
5859

59-
6060
test: environment ## run tests quickly with the default Python
6161
@echo Testing
62-
pytest tests --cov=torrentfile --pylint
63-
64-
coverage: environment ## check code coverage with the default Python
65-
@echo Generating Coverage Report
66-
coverage run --source torrentfile -m pytest tests
62+
pytest tests --cov=torrentfile --cov=tests --pylint
6763
coverage xml -o coverage.xml
6864

69-
push: clean lint test coverage docs ## push to remote repo
65+
push: clean lint test docs ## push to remote repo
7066
@echo pushing to remote
7167
git add .
7268
git commit -m "$m"
@@ -80,6 +76,7 @@ docs: environment ## Regenerate docs from changes
8076

8177
build: clean install
8278
python setup.py sdist bdist_wheel bdist_egg
79+
# twine upload dist/*
8380
rm -rfv ../runner
8481
mkdir ../runner
8582
touch ../runner/exe
@@ -92,13 +89,12 @@ build: clean install
9289
pyinstaller --distpath ../runner/dist --workpath ../runner/build \
9390
-D -n torrentfile -c -i ../runner/torrentfile.ico \
9491
--specpath ../runner/ ../runner/exe
95-
mkdir ./dist/bin
96-
cp -rfv ../../runner/dist ./dist/bin
97-
# twine upload dist/*
92+
cp -rfv ../runner/dist/* ./dist/
93+
tar -va -c -f ./dist/torrentfile.zip ./dist/torrentfile
9894

99-
install: environment clean test ## Install Locally
95+
install: ## Install Locally
10096
pip install --upgrade -rrequirements.txt --no-cache-dir
101-
python setup.py install
97+
pip install -e .
10298

10399
branch: clean ## Switch git branches after changes have been made
104100
git checkout master

assets/torrentfile.ico

-65.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)