diff --git a/.markdownlint.json b/.markdownlint.json deleted file mode 100644 index 844a8ac..0000000 --- a/.markdownlint.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "default": true, - "MD013": {"line_length": 120 }, - "MD029": { "style": "ordered" }, - "MD007": { "indent": 4 }, - "MD046": false, - "MD033": {"allowed_elements": ["sup", "sub"]}, - "MD024": false, - "no-hard-tabs": true -} diff --git a/.prospector.yml b/.prospector.yml index 17ac9bc..1bc1047 100644 --- a/.prospector.yml +++ b/.prospector.yml @@ -1,5 +1,5 @@ strictness: high -autodetect: true +autodetect: false doc-warnings: true test-warnings: true member-warnings: true diff --git a/CHANGELOG.md b/CHANGELOG.md index d845990..b456971 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,23 @@ # TorrentFileQt -## Version 0.2.0 +## Version 0.3.0 + + - Added more fields the to "Edit" tab. + - Added Drag and Drop for all tabs that only deal with torrent files. + - Minor changes to GUI style look + - Added support for creating magnet links + - Improvements and Additions to unit testing suite. + - Support for torrentfile version 0.7.0 + - improved updated Icons and readme information. + - other bug fixes. + +---------- -### Fixed +## Version 0.2.0 - Bug Fixes - lots of bug fixes - upgraded support to newest torrentfile version 0.5.0 - -### Added - - pre-compiled executables for window. - Check Tab for re-checking torrent download completion - docstrings @@ -19,8 +27,6 @@ ## Version 0.1.0 -### Added - - GUI front end to TorrentFile CLI - Unit testing framework - Initial code commits diff --git a/Makefile b/Makefile index 11a83a1..b4b77f5 100644 --- a/Makefile +++ b/Makefile @@ -85,14 +85,15 @@ coverage: ## run coverage on project bash codacy.sh report -r coverage.xml test: ## run tests quickly with the default Python + pip install --upgrade --force-reinstall --no-cache -rrequirements.txt pytest tests --cov=torrentfileQt --cov=tests -push: clean lint coverage ## push changes to remote +push: clean lint coverage test ## push changes to remote git add . git commit -m "$m" git push -release: clean test ## release to pypi +release: clean test lint ## release to pypi python setup.py sdist bdist_wheel bdist_egg twine upload dist/* diff --git a/assets/icons/down-arrow16.png b/assets/icons/down-arrow16.png deleted file mode 100644 index fd8c86a..0000000 Binary files a/assets/icons/down-arrow16.png and /dev/null differ diff --git a/assets/icons/favicon.png b/assets/icons/favicon.png deleted file mode 100644 index ffcfa70..0000000 Binary files a/assets/icons/favicon.png and /dev/null differ diff --git a/assets/torrentfile.png b/assets/torrentfile.png deleted file mode 100644 index 3f6e05d..0000000 Binary files a/assets/torrentfile.png and /dev/null differ diff --git a/coverage.xml b/coverage.xml index 6b5f827..484390a 100644 --- a/coverage.xml +++ b/coverage.xml @@ -1,5 +1,5 @@ - + @@ -703,7 +703,7 @@ - + @@ -711,9 +711,12 @@ - + - + + + + @@ -1249,7 +1252,7 @@ - + @@ -1436,7 +1439,7 @@ - + diff --git a/package.json b/package.json index a238433..9912e87 100644 --- a/package.json +++ b/package.json @@ -1 +1,19 @@ -{"name": "torrentfileqt", "displayName": "TorrentfileQt", "version": "0.2.9", "description": "GUI torrentfile creator.", "repository": {"type": "git", "url": "git+https://github.com/alexpdev/TorrentfileQt.git"}, "keywords": ["GUI", "Bittorrent", "metafile"], "author": "alexpdev", "url": "https://github.com/alexpdev/torrentfileQt", "email": "alexpdev@protonmail.com", "license": "Apache", "bugs": {"url": "https://github.com/alexpdev/TorrentfileQt/issues"}, "homepage": "https://github.com/alexpdev/TorrentfileQt#readme"} \ No newline at end of file +{ + "name": "torrentfileqt", + "displayName": "TorrentfileQt", + "version": "0.3.0", + "description": "GUI torrentfile creator.", + "repository": { + "type": "git", + "url": "git+https://github.com/alexpdev/TorrentfileQt.git" + }, + "keywords": ["GUI", "Bittorrent", "metafile"], + "author": "alexpdev", + "url": "https://github.com/alexpdev/torrentfileQt", + "email": "alexpdev@protonmail.com", + "license": "Apache", + "bugs": { + "url": "https://github.com/alexpdev/TorrentfileQt/issues" + }, + "homepage": "https://github.com/alexpdev/TorrentfileQt#readme" +} diff --git a/tests/test_edittab.py b/tests/test_edittab.py index a38e0ce..9c3a8d9 100644 --- a/tests/test_edittab.py +++ b/tests/test_edittab.py @@ -111,8 +111,8 @@ def test_editor_table_fields(wind, ttorrent): if txt in ["httpseeds", "url-list", "announce-list"]: wig, found = table.cellWidget(i, 1), found + 1 for url in ['url8', 'url9']: - wig.line_edit.setText(url) wig.add_button.click() + wig.line_edit.setText(url) wig.combo.focusOutEvent(None) lst = [wig.combo.itemText(j) for j in range(wig.combo.count())] assert len([i for i in ['url8', 'url9'] if i in lst]) == 2 diff --git a/torrentfileQt/__init__.py b/torrentfileQt/__init__.py index 265a8ed..a671aae 100644 --- a/torrentfileQt/__init__.py +++ b/torrentfileQt/__init__.py @@ -18,10 +18,16 @@ ############################################################################## """Init module for TorrentfileQt project.""" +import ctypes + import torrentfile from torrentfileQt.version import __version__ from torrentfileQt.window import Application, Window, alt_start, start + __author__ = "alexpdev" __all__ = ["Application", "Window", "alt_start", "start", "__version__"] + +myappid = f'TorrentfileQt.{__version__}.{__author__}' +ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid) diff --git a/torrentfileQt/version.py b/torrentfileQt/version.py index c07b896..9f16d98 100644 --- a/torrentfileQt/version.py +++ b/torrentfileQt/version.py @@ -15,4 +15,4 @@ ############################################################################## """Application version id tag.""" -__version__ = "0.2.9" +__version__ = "0.3.0"