From 8434801bfc740f35ceeb27e76af1c3d2ce0db1b8 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 19 Jan 2021 15:45:12 -0800 Subject: [PATCH 1/5] Upgrade pydocstyle to v5 Fixes https://github.com/ethereum/ethereum-python-project-template/issues/52 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 845b8ab8..40edee8b 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ "flake8==3.7.9", "isort>=4.2.15,<5", "mypy==0.770", - "pydocstyle>=3.0.0,<4", + "pydocstyle>=5.0.0,<6", ], 'doc': [ "Sphinx>=1.6.5,<2", From 9d0cbd4a9fca511fab6e8f8ee49edc8c750bf4c3 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 19 Jan 2021 15:51:46 -0800 Subject: [PATCH 2/5] Add pip-wheel-metadata & .pytest_cache to ignore Fixes https://github.com/ethereum/ethereum-python-project-template/issues/51 --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index b43bb7b3..0ec1cd37 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ develop-eggs .installed.cfg lib lib64 +pip-wheel-metadata venv* # Installer logs @@ -55,6 +56,7 @@ chains # tox/pytest cache .cache +.pytest_cache # Test output logs logs From f4f5c051f59122e1889ddb68c6e4720b1243eb94 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 19 Jan 2021 15:55:52 -0800 Subject: [PATCH 3/5] Clean up IntelliJ .gitignore a bit --- .gitignore | 49 ++++++++++++++++--------------------------------- 1 file changed, 16 insertions(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index 0ec1cd37..011ac1c8 100644 --- a/.gitignore +++ b/.gitignore @@ -60,31 +60,6 @@ chains # Test output logs logs -### JetBrains template -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff: -.idea/workspace.xml -.idea/tasks.xml -.idea/dictionaries -.idea/vcs.xml -.idea/jsLibraryMappings.xml - -# Sensitive or high-churn files: -.idea/dataSources.ids -.idea/dataSources.xml -.idea/dataSources.local.xml -.idea/sqlDataSources.xml -.idea/dynamic.xml -.idea/uiDesigner.xml - -# Gradle: -.idea/gradle.xml -.idea/libraries - -# Mongo Explorer plugin: -.idea/mongoSettings.xml # VIM temp files *.sw[op] @@ -92,24 +67,32 @@ logs # mypy .mypy_cache +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# For a more precise, explicit template, see: +# https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +## General +.idea/* +.idea_modules/* + ## File-based project format: *.iws -## Plugin-specific files: +## IntelliJ +out/ -# IntelliJ -/out/ -.idea* +## Plugin-specific files: -#pip wheel metadata -pip-wheel-metadata +### mpeltonen/sbt-idea plugin +.idea_modules/ -# JIRA plugin +### JIRA plugin atlassian-ide-plugin.xml -# Crashlytics plugin (for Android Studio and IntelliJ) +### Crashlytics plugin (for Android Studio and IntelliJ) com_crashlytics_export_strings.xml crashlytics.properties crashlytics-build.properties fabric.properties +# END JetBrains section From 8c7f30b0b7276bc33e10d8fe57e3e34d1c5b8f18 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 19 Jan 2021 16:14:16 -0800 Subject: [PATCH 4/5] Add supported OS's Fixes https://github.com/ethereum/ethereum-python-project-template/issues/37 --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 40edee8b..a78d2afa 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,8 @@ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', + 'Operating System :: MacOS', + 'Operating System :: POSIX', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', From b7baeca0cd92dda123f34931a695e30556b4b270 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 19 Jan 2021 16:15:22 -0800 Subject: [PATCH 5/5] Pin sphinx-rtd-theme to =1.6.5,<2", - "sphinx_rtd_theme>=0.1.9", + "sphinx_rtd_theme>=0.1.9,<1", "towncrier>=19.2.0, <20", ], 'dev': [