diff --git a/CHANGES.rst b/CHANGES.rst index da31537..8311b6f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,7 +14,7 @@ Changelog - Update description to inform about Python 2 and Qt4 unsupported versions - Add missing examples #251 - 3.0.1: - - Enhacement of state of active/non active itens in views #209 + - Enhancement of state of active/non active items in views #209 - Update manifest to include UI files - **3.0.0**: - New structure to create different palettes #268, #164 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index ec871af..342eb32 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -140,7 +140,7 @@ Logging ------- Inside modules we provided a logging that should be used to inform the -user. Please, follow the levels bellow. +user. Please, follow the levels below. - debug: for debug information, high detailed one, directed to programmers; @@ -347,7 +347,7 @@ maintainer in both. 4. Try upload in `PyPI test page `__ platform before - the oficial + the official ``twine upload --repository-url https://test.pypi.org/legacy/ dist/*`` @@ -364,7 +364,7 @@ maintainer in both. ``twine upload --repository-url https://upload.pypi.org/legacy/ dist/*`` -8. Try to install from oficial +8. Try to install from official ``pip install qdarkstyle`` diff --git a/pylint.ini b/pylint.ini index b9a8979..b78d2b3 100644 --- a/pylint.ini +++ b/pylint.ini @@ -55,7 +55,7 @@ confidence= # can either give multiple identifiers separated by comma (,) or put this # option multiple times (only on the command line, not in the configuration # file where it should appear only once). You can also use "--disable=all" to -# disable everything first and then reenable specific checks. For example, if +# disable everything first and then re-enable specific checks. For example, if # you want to run only the similarities checker, you can use "--disable=all # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use "--disable=all --enable=classes diff --git a/qdarkstyle/__init__.py b/qdarkstyle/__init__.py index 841e420..e7c5edd 100755 --- a/qdarkstyle/__init__.py +++ b/qdarkstyle/__init__.py @@ -286,7 +286,7 @@ def _load_stylesheet(qt_api='', palette=None): qss_file.open(QFile.ReadOnly | QFile.Text) text_stream = QTextStream(qss_file) stylesheet = text_stream.readAll() - _logger.info("QSS file sucessfuly loaded.") + _logger.info("QSS file successfully loaded.") else: stylesheet = "" # Todo: check this raise type and add to docs diff --git a/qdarkstyle/example/__main__.py b/qdarkstyle/example/__main__.py index b3d84e4..f275f6a 100644 --- a/qdarkstyle/example/__main__.py +++ b/qdarkstyle/example/__main__.py @@ -12,7 +12,7 @@ Requirements: - Python 3 - QtPy - PyQt5 or PyQt4 or PySide2 or PySide - - PyQtGraph or Qt.Py (if choosen) + - PyQtGraph or Qt.Py (if chosen) To run this example using PyQt5, simple do diff --git a/qdarkstyle/qss/_styles.scss b/qdarkstyle/qss/_styles.scss index 15693af..1d67359 100644 --- a/qdarkstyle/qss/_styles.scss +++ b/qdarkstyle/qss/_styles.scss @@ -1864,7 +1864,7 @@ QDockWidget { background: transparent; background-image: transparent; // float button has an issue that if you change any of those - // parameters bellow there will be a duplication in the icon + // parameters below there will be a duplication in the icon // actually it seems that they are always there (duplication) border: 0; margin: 0; diff --git a/qdarkstyle/utils/images.py b/qdarkstyle/utils/images.py index 665c5f5..13f30b5 100755 --- a/qdarkstyle/utils/images.py +++ b/qdarkstyle/utils/images.py @@ -235,7 +235,7 @@ def create_images(base_svg_path=SVG_PATH, rc_path=None, palette=None): def generate_qrc_file(resource_prefix='qss_icons', style_prefix='qdarkstyle', palette=None): """ - Generate the QRC file programmaticaly. + Generate the QRC file programmatically. Search all RC folder for PNG images and create a QRC file. diff --git a/qdarkstyle/utils/scss.py b/qdarkstyle/utils/scss.py index 37eb8b5..7cea3fa 100644 --- a/qdarkstyle/utils/scss.py +++ b/qdarkstyle/utils/scss.py @@ -162,7 +162,7 @@ def create_custom_qss( The `name` must be a valid Python identifier and will be stored as a lowercased folder (even if the identifier had uppercase letters). - This fuction returns the custom stylesheet pointing to resources stored at + This function returns the custom stylesheet pointing to resources stored at .../path/name/. """ stylesheet = '' @@ -272,7 +272,7 @@ def create_custom_qss_from_dict(name, path, palette_dict): if __name__ == '__main__': # Example of a custom palette - # TODO: change to not use a specfic path + # TODO: change to not use a specific path # TODO: may move to other place, e.g., example.py qss = create_custom_qss( 'MyAwesomePalette', diff --git a/tox.ini b/tox.ini index c0813c6..db4d16e 100644 --- a/tox.ini +++ b/tox.ini @@ -46,7 +46,7 @@ changedir= commands = - # check depedencies + # check dependencies pip check # list all deps pip list @@ -119,10 +119,10 @@ commands = release: python setup.py sdist bdist_wheel release: python setup.py check -s -r # even deprecated, shows better error messages that are passing in twine release: twine check dist/* - # try upload in test platform before the oficial + # try upload in test platform before the official # release: twine upload --repository-url https://test.pypi.org/legacy/ dist/* # release: pip install --index-url https://test.pypi.org/simple/ qdarkstyle - # upload to oficial + # upload to official # release: twine upload dist/* # release: pip uninstall qdarkstyle # release: pip install qdarkstyle