From e14c4234dc6dcf945fc61370fdd8871da813abab Mon Sep 17 00:00:00 2001 From: Dennis <52584399+Den4200@users.noreply.github.com> Date: Fri, 17 Jan 2020 07:22:17 -0500 Subject: [PATCH 001/149] Update README.md --- inquisitive-investigators/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inquisitive-investigators/README.md b/inquisitive-investigators/README.md index fd06088d..dccf6cf3 100644 --- a/inquisitive-investigators/README.md +++ b/inquisitive-investigators/README.md @@ -12,4 +12,4 @@ Please use this README to document your team's project. Make sure to include a g ## License -All projects will merged into our Code Jam repository, which uses the [MIT license](../LICENSE). Please make sure that if you add assets, the licenses of those assets are compatible with the MIT license. +All projects will merged into our Code Jam repository, which uses the [MIT license](../LICENSE). Please make sure that if you add assets, the licenses of those assets are compatible with the MIT license. From d96928bb2eb7dca6e020d36f2a55ed5322dbe9e7 Mon Sep 17 00:00:00 2001 From: Den4200 Date: Fri, 17 Jan 2020 09:55:32 -0500 Subject: [PATCH 002/149] precommit hooks and pipenv --- inquisitive-investigators/.gitignore | 130 +++++++++ .../.pre-commit-config.yaml | 8 + inquisitive-investigators/Pipfile | 21 ++ inquisitive-investigators/Pipfile.lock | 268 ++++++++++++++++++ inquisitive-investigators/README.md | 12 +- .../ancient_tech/main.py | 0 6 files changed, 433 insertions(+), 6 deletions(-) create mode 100644 inquisitive-investigators/.gitignore create mode 100644 inquisitive-investigators/.pre-commit-config.yaml create mode 100644 inquisitive-investigators/Pipfile create mode 100644 inquisitive-investigators/Pipfile.lock create mode 100644 inquisitive-investigators/ancient_tech/main.py diff --git a/inquisitive-investigators/.gitignore b/inquisitive-investigators/.gitignore new file mode 100644 index 00000000..bee78afd --- /dev/null +++ b/inquisitive-investigators/.gitignore @@ -0,0 +1,130 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# VS Code +.vscode/ + +# Temporary Project Initializtion Files +proj_init.py diff --git a/inquisitive-investigators/.pre-commit-config.yaml b/inquisitive-investigators/.pre-commit-config.yaml new file mode 100644 index 00000000..8641696e --- /dev/null +++ b/inquisitive-investigators/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +repos: +- repo: local + hooks: + - id: flake8 + name: Flake8 + entry: pipenv run flake8 + language: system + types: [python] diff --git a/inquisitive-investigators/Pipfile b/inquisitive-investigators/Pipfile new file mode 100644 index 00000000..8f2e7e50 --- /dev/null +++ b/inquisitive-investigators/Pipfile @@ -0,0 +1,21 @@ +[[source]] +name = "pypi" +url = "https://pypi.org/simple" +verify_ssl = true + +[dev-packages] +flake8 = "*" +pre-commit = "*" +flake8-bugbear = "*" + +[packages] +kivy = "*" +kivy-deps-sdl2 = "*" +kivy-deps-glew = "*" + +[requires] +python_version = "3.7" + +[scripts] +flake8 = "python -m flake8" +precommit = "pre-commit install" diff --git a/inquisitive-investigators/Pipfile.lock b/inquisitive-investigators/Pipfile.lock new file mode 100644 index 00000000..d771f9e3 --- /dev/null +++ b/inquisitive-investigators/Pipfile.lock @@ -0,0 +1,268 @@ +{ + "_meta": { + "hash": { + "sha256": "8d7b40715d25b2384364f83d0a571b15f00a045885634fe176ddfb45a6cc85b7" + }, + "pipfile-spec": 6, + "requires": { + "python_version": "3.7" + }, + "sources": [ + { + "name": "pypi", + "url": "https://pypi.org/simple", + "verify_ssl": true + } + ] + }, + "default": { + "certifi": { + "hashes": [ + "sha256:017c25db2a153ce562900032d5bc68e9f191e44e9a0f762f373977de9df1fbb3", + "sha256:25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f" + ], + "version": "==2019.11.28" + }, + "chardet": { + "hashes": [ + "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae", + "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691" + ], + "version": "==3.0.4" + }, + "docutils": { + "hashes": [ + "sha256:0c5b78adfbf7762415433f5515cd5c9e762339e23369dbe8000d84a4bf4ab3af", + "sha256:c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc" + ], + "version": "==0.16" + }, + "idna": { + "hashes": [ + "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407", + "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c" + ], + "version": "==2.8" + }, + "kivy": { + "hashes": [ + "sha256:090d3ded9835a17477cd93fbdaf0a7c42ff2218981cf198ded5ad8795bc74391", + "sha256:11e85eaf6efbfa2362a3334ffdad179a1b0ca8d255cca79eaa6a2765560d4982", + "sha256:1a1ff32f8a95f1e175198cbab81fcd2596783b180d4eafe63e87d171aa7fdb5e", + "sha256:1d28b198a64c30db8d94a0488e85f3037af60d514ab0d7ad5ab45add3ab77090", + "sha256:4a5480cbf837d3780c77a4f61b32b56d22ae9f03845e7a89dd3eaef1ae5fd037", + "sha256:4d0e596f74271e901b551f77661dde238df4765484fce9f5d1c72e8022984e84", + "sha256:5c3d0f2749522d62e9cce09cd54b2d823bf1b6b644ff1f627be49de6f3e3cba0", + "sha256:815a5c0b3b72fcd81ca7b2aa0744087163ed03e4cf9ab4e7c9733cea99fc1571", + "sha256:8819a27a09871af451760cb69486ced52e830c8a0a37480f22ef5e692f12c05b", + "sha256:a687602d90c4629dd036f577ca39acb76ba581370f9d915f3cab99be818ba8ad", + "sha256:b7ef6aad43a86d8df3fb865db864e354f2155a748019f8517f69f65c1a29cb64", + "sha256:b85ccf165050cbf2ee8447671eebbc222b369b40f0e0038dd9547d49a5e37373", + "sha256:c36652caa7f6c327dee834cfc699d5962d346b7a53e54bd81abc17c314226d89", + "sha256:ece170514db3f49844a41e4c910ad9ce9bc46da6f47a49158e11266bdcc6e479", + "sha256:f3bea6e4a21991827885d04127fc6d09a0e974ecfa12da7bf5faae93562ea102", + "sha256:f835462dd9aa491272552ef079b948a088598e2e95d68bb1d885d2c3f3d4e2c3" + ], + "index": "pypi", + "version": "==1.11.1" + }, + "kivy-deps-glew": { + "hashes": [ + "sha256:285c50d706ae94090f96724cc72b47cf89dfdf249057405c2260991caaeb0d64", + "sha256:39bc81b68aa9c3c051472624d5e9cf57e5b8cedcafc3f4d2edc5b26708742a9e", + "sha256:5012c02bce7fa8e59c053b92acb3ea01e0db5790a617fb5985e67cf8a6be28b8", + "sha256:738a222f16b032b5ccd4c686fc51e678d95e4c1f13c57f32233d3cb8aa2f34bf", + "sha256:7fdfa95e3fe6fbcb7efc3e1d32680856a6e72c6399bc5dd76c2e7609b2e9bf58", + "sha256:a6f3230927c776a490bc5c0675265d9fe59a8afde2e7f1f5bb0a6a4c05a49738" + ], + "index": "pypi", + "version": "==0.2.0" + }, + "kivy-deps-sdl2": { + "hashes": [ + "sha256:182ba8686ba7d589d394c3fe07aba7d7187dc17846c118c27ce05aa6a3e9e7cb", + "sha256:34f193da774535c7b1f377d5bf220751491eb479f4b0e2cf4b068419295473cc", + "sha256:86671b769dddf8e7b1ad82773a01a724ff62742bffe4fa8f238d87b4d5f2a0b6", + "sha256:b7e2648e85a43eb25ea61a4cdc9304a3855a8d36d76939b6968efeb81e853b83", + "sha256:c2e1721aac0709f21835c8dd4aec5adea2d58e5df92005585f94d13bed2a2e06", + "sha256:f6c5fff4c1ebb75144e700cfae9fa79ad3b752a14761efe6996031b67d845298" + ], + "index": "pypi", + "version": "==0.2.0" + }, + "kivy-garden": { + "hashes": [ + "sha256:c256f42788421273a08fbb0a228f0fb0e80dd86b629fb8c0920507f645be6c72" + ], + "version": "==0.1.4" + }, + "pygments": { + "hashes": [ + "sha256:2a3fe295e54a20164a9df49c75fa58526d3be48e14aceba6d6b1e8ac0bfd6f1b", + "sha256:98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe" + ], + "version": "==2.5.2" + }, + "requests": { + "hashes": [ + "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4", + "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31" + ], + "version": "==2.22.0" + }, + "urllib3": { + "hashes": [ + "sha256:a8a318824cc77d1fd4b2bec2ded92646630d7fe8619497b142c84a9e6f5a7293", + "sha256:f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745" + ], + "version": "==1.25.7" + } + }, + "develop": { + "aspy.yaml": { + "hashes": [ + "sha256:463372c043f70160a9ec950c3f1e4c3a82db5fca01d334b6bc89c7164d744bdc", + "sha256:e7c742382eff2caed61f87a39d13f99109088e5e93f04d76eb8d4b28aa143f45" + ], + "version": "==1.3.0" + }, + "attrs": { + "hashes": [ + "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c", + "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72" + ], + "version": "==19.3.0" + }, + "cfgv": { + "hashes": [ + "sha256:edb387943b665bf9c434f717bf630fa78aecd53d5900d2e05da6ad6048553144", + "sha256:fbd93c9ab0a523bf7daec408f3be2ed99a980e20b2d19b50fc184ca6b820d289" + ], + "version": "==2.0.1" + }, + "entrypoints": { + "hashes": [ + "sha256:589f874b313739ad35be6e0cd7efde2a4e9b6fea91edcc34e58ecbb8dbe56d19", + "sha256:c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451" + ], + "version": "==0.3" + }, + "flake8": { + "hashes": [ + "sha256:45681a117ecc81e870cbf1262835ae4af5e7a8b08e40b944a8a6e6b895914cfb", + "sha256:49356e766643ad15072a789a20915d3c91dc89fd313ccd71802303fd67e4deca" + ], + "index": "pypi", + "version": "==3.7.9" + }, + "flake8-bugbear": { + "hashes": [ + "sha256:09a12ebe427279cf7aa9445114a68d83a6f0ffccdd4105368d6e85373541eb8f", + "sha256:bc4a35972342256abddf84591fbb82f7360981db1b71e39a8ba0400e906239cf" + ], + "index": "pypi", + "version": "==20.1.2" + }, + "identify": { + "hashes": [ + "sha256:418f3b2313ac0b531139311a6b426854e9cbdfcfb6175447a5039aa6291d8b30", + "sha256:8ad99ed1f3a965612dcb881435bf58abcfbeb05e230bb8c352b51e8eac103360" + ], + "version": "==1.4.10" + }, + "importlib-metadata": { + "hashes": [ + "sha256:bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359", + "sha256:f17c015735e1a88296994c0697ecea7e11db24290941983b08c9feb30921e6d8" + ], + "markers": "python_version < '3.8'", + "version": "==1.4.0" + }, + "mccabe": { + "hashes": [ + "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", + "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f" + ], + "version": "==0.6.1" + }, + "more-itertools": { + "hashes": [ + "sha256:1a2a32c72400d365000412fe08eb4a24ebee89997c18d3d147544f70f5403b39", + "sha256:c468adec578380b6281a114cb8a5db34eb1116277da92d7c46f904f0b52d3288" + ], + "version": "==8.1.0" + }, + "nodeenv": { + "hashes": [ + "sha256:561057acd4ae3809e665a9aaaf214afff110bbb6a6d5c8a96121aea6878408b3" + ], + "version": "==1.3.4" + }, + "pre-commit": { + "hashes": [ + "sha256:8f48d8637bdae6fa70cc97db9c1dd5aa7c5c8bf71968932a380628c25978b850", + "sha256:f92a359477f3252452ae2e8d3029de77aec59415c16ae4189bcfba40b757e029" + ], + "index": "pypi", + "version": "==1.21.0" + }, + "pycodestyle": { + "hashes": [ + "sha256:95a2219d12372f05704562a14ec30bc76b05a5b297b21a5dfe3f6fac3491ae56", + "sha256:e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c" + ], + "version": "==2.5.0" + }, + "pyflakes": { + "hashes": [ + "sha256:17dbeb2e3f4d772725c777fabc446d5634d1038f234e77343108ce445ea69ce0", + "sha256:d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2" + ], + "version": "==2.1.1" + }, + "pyyaml": { + "hashes": [ + "sha256:059b2ee3194d718896c0ad077dd8c043e5e909d9180f387ce42012662a4946d6", + "sha256:1cf708e2ac57f3aabc87405f04b86354f66799c8e62c28c5fc5f88b5521b2dbf", + "sha256:24521fa2890642614558b492b473bee0ac1f8057a7263156b02e8b14c88ce6f5", + "sha256:4fee71aa5bc6ed9d5f116327c04273e25ae31a3020386916905767ec4fc5317e", + "sha256:70024e02197337533eef7b85b068212420f950319cc8c580261963aefc75f811", + "sha256:74782fbd4d4f87ff04159e986886931456a1894c61229be9eaf4de6f6e44b99e", + "sha256:940532b111b1952befd7db542c370887a8611660d2b9becff75d39355303d82d", + "sha256:cb1f2f5e426dc9f07a7681419fe39cee823bb74f723f36f70399123f439e9b20", + "sha256:dbbb2379c19ed6042e8f11f2a2c66d39cceb8aeace421bfc29d085d93eda3689", + "sha256:e3a057b7a64f1222b56e47bcff5e4b94c4f61faac04c7c4ecb1985e18caa3994", + "sha256:e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615" + ], + "version": "==5.3" + }, + "six": { + "hashes": [ + "sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a", + "sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c" + ], + "version": "==1.14.0" + }, + "toml": { + "hashes": [ + "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c", + "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e" + ], + "version": "==0.10.0" + }, + "virtualenv": { + "hashes": [ + "sha256:0d62c70883c0342d59c11d0ddac0d954d0431321a41ab20851facf2b222598f3", + "sha256:55059a7a676e4e19498f1aad09b8313a38fcc0cdbe4fdddc0e9b06946d21b4bb" + ], + "version": "==16.7.9" + }, + "zipp": { + "hashes": [ + "sha256:8dda78f06bd1674bd8720df8a50bb47b6e1233c503a4eed8e7810686bde37656", + "sha256:d38fbe01bbf7a3593a32bc35a9c4453c32bc42b98c377f9bff7e9f8da157786c" + ], + "version": "==1.0.0" + } + } +} diff --git a/inquisitive-investigators/README.md b/inquisitive-investigators/README.md index fd06088d..6e0e9f30 100644 --- a/inquisitive-investigators/README.md +++ b/inquisitive-investigators/README.md @@ -1,14 +1,14 @@ # Inquisitive Investigators -Please use this README to document your team's project. Make sure to include a general description, information on how to set-up and run your project, and anything else you think may be interesting for a README. The README is usually the first document people read when they visit a project on GitHub, so it's a good idea to make it appealing. +Ancient Technology! -## Useful links +## Installation - Developers -- **Code Jam Rules:** [https://pythondiscord.com/pages/code-jams/code-jam-6/rules/](https://pythondiscord.com/pages/code-jams/code-jam-6/rules/) +* Install pipenv: `pip install pipenv` +* Install dependencies: `pipenv sync --dev` +* Setup pre-commit hooks: `pipenv run precommit` -- **General Code Jam info:** [https://pythondiscord.com/pages/code-jams/code-jam-6/](https://pythondiscord.com/pages/code-jams/code-jam-6/) - -- **Kivy:** [https://kivy.org/#home](https://kivy.org/#home) +All dependencies are now installed in a virutal environment. Pre-commit hooks should also now be setup. ## License diff --git a/inquisitive-investigators/ancient_tech/main.py b/inquisitive-investigators/ancient_tech/main.py new file mode 100644 index 00000000..e69de29b From 7b3c1b1ab0bd6df6051225717bef8a12808f6d58 Mon Sep 17 00:00:00 2001 From: Dennis <52584399+Den4200@users.noreply.github.com> Date: Fri, 17 Jan 2020 09:59:25 -0500 Subject: [PATCH 003/149] Fix README.md --- inquisitive-investigators/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inquisitive-investigators/README.md b/inquisitive-investigators/README.md index 74b35f09..4e3b0753 100644 --- a/inquisitive-investigators/README.md +++ b/inquisitive-investigators/README.md @@ -6,9 +6,8 @@ Ancient Technology! * Install pipenv: `pip install pipenv` * Install dependencies: `pipenv sync --dev` -* Setup pre-commit hooks: `pipenv run precommit` -All dependencies are now installed in a virutal environment. Pre-commit hooks should also now be setup. +All dependencies are now installed in a virutal environment. ## License From 217fca6d84bb51c0d43e68255833b1b397a1df04 Mon Sep 17 00:00:00 2001 From: Den4200 Date: Fri, 17 Jan 2020 11:38:01 -0500 Subject: [PATCH 004/149] test commit --- inquisitive-investigators/ancient_tech/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/inquisitive-investigators/ancient_tech/main.py b/inquisitive-investigators/ancient_tech/main.py index e69de29b..00bcb6e3 100644 --- a/inquisitive-investigators/ancient_tech/main.py +++ b/inquisitive-investigators/ancient_tech/main.py @@ -0,0 +1 @@ +# test \ No newline at end of file From 72e4ccb162ffbca9372cb70d1806ef1d7331e4f9 Mon Sep 17 00:00:00 2001 From: Monika Date: Fri, 17 Jan 2020 11:51:53 -0500 Subject: [PATCH 005/149] 'test' --- inquisitive-investigators/ancient_tech/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/inquisitive-investigators/ancient_tech/main.py b/inquisitive-investigators/ancient_tech/main.py index e69de29b..f7c2fed4 100644 --- a/inquisitive-investigators/ancient_tech/main.py +++ b/inquisitive-investigators/ancient_tech/main.py @@ -0,0 +1 @@ +from kivy.app import App \ No newline at end of file From 8519d81418e333f17e33b4d4c6740f2f953e121b Mon Sep 17 00:00:00 2001 From: Monika Date: Fri, 17 Jan 2020 12:07:22 -0500 Subject: [PATCH 006/149] Added Base Structure and KV lang file --- .../ancient_tech/ancienttech.kv | 3 +++ inquisitive-investigators/ancient_tech/main.py | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 inquisitive-investigators/ancient_tech/ancienttech.kv diff --git a/inquisitive-investigators/ancient_tech/ancienttech.kv b/inquisitive-investigators/ancient_tech/ancienttech.kv new file mode 100644 index 00000000..07626f62 --- /dev/null +++ b/inquisitive-investigators/ancient_tech/ancienttech.kv @@ -0,0 +1,3 @@ +
: + Label: + text: 'Hello World' diff --git a/inquisitive-investigators/ancient_tech/main.py b/inquisitive-investigators/ancient_tech/main.py index 161f8ffa..61421f14 100644 --- a/inquisitive-investigators/ancient_tech/main.py +++ b/inquisitive-investigators/ancient_tech/main.py @@ -1 +1,16 @@ from kivy.app import App +from kivy.uix.widget import Widget +from kivy.uix.floatlayout import FloatLayout + + +class Main(FloatLayout): + pass + + +class AncientTechApp(App): + def build(self): + return Main() + + +if __name__ == '__main__': + AncientTechApp().run() From 1cf9b4a6afa8dc10c843f039d1324d82bbad81af Mon Sep 17 00:00:00 2001 From: Monika Date: Fri, 17 Jan 2020 12:22:47 -0500 Subject: [PATCH 007/149] quick example of ids/references --- .../ancient_tech/ancienttech.kv | 13 ++++++++++++- inquisitive-investigators/ancient_tech/main.py | 9 ++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/inquisitive-investigators/ancient_tech/ancienttech.kv b/inquisitive-investigators/ancient_tech/ancienttech.kv index 07626f62..c45a5f48 100644 --- a/inquisitive-investigators/ancient_tech/ancienttech.kv +++ b/inquisitive-investigators/ancient_tech/ancienttech.kv @@ -1,3 +1,14 @@
: - Label: + # Main Class sets reference of id test to test + test: test + + + # Created a button instance in Main (FloatLayout) + # FloatLayout honors the hint system + Button: + # Created an ID for Main to look for + id: test + pos_hint: {'top': .75} + size_hint: 1,.5 text: 'Hello World' + diff --git a/inquisitive-investigators/ancient_tech/main.py b/inquisitive-investigators/ancient_tech/main.py index 61421f14..a7e0b0e2 100644 --- a/inquisitive-investigators/ancient_tech/main.py +++ b/inquisitive-investigators/ancient_tech/main.py @@ -3,10 +3,17 @@ from kivy.uix.floatlayout import FloatLayout +# Float Layout Documentation +# https://kivy.org/doc/stable/api-kivy.uix.floatlayout.html class Main(FloatLayout): - pass + def __init__(self, **kwargs): + super().__init__(**kwargs) + # Grabs reference of ID and calls text element + print(self.test.text) +# App Documentation +# https://kivy.org/doc/stable/api-kivy.app.html?highlight=app#module-kivy.app class AncientTechApp(App): def build(self): return Main() From 469b1eb7698dc23a95cd2440ebcaf450072f8ade Mon Sep 17 00:00:00 2001 From: Den4200 Date: Fri, 17 Jan 2020 15:32:49 -0500 Subject: [PATCH 008/149] pre-commit hooks --- inquisitive-investigators/.flake8 | 6 +- inquisitive-investigators/.gitignore | 130 ----- .../.pre-commit-config.yaml | 17 +- inquisitive-investigators/Pipfile | 40 +- inquisitive-investigators/Pipfile.lock | 512 +++++++++--------- inquisitive-investigators/README.md | 29 +- 6 files changed, 290 insertions(+), 444 deletions(-) delete mode 100644 inquisitive-investigators/.gitignore diff --git a/inquisitive-investigators/.flake8 b/inquisitive-investigators/.flake8 index a2dbe291..16e6dd92 100644 --- a/inquisitive-investigators/.flake8 +++ b/inquisitive-investigators/.flake8 @@ -1,3 +1,3 @@ -[flake8] -max-line-length=100 -exclude=.cache,.venv,.svn,CVS,.bzr,.hg,.git,__pycache__,.tox +[flake8] +max-line-length=100 +exclude=.cache,.venv,.svn,CVS,.bzr,.hg,.git,__pycache__,.tox diff --git a/inquisitive-investigators/.gitignore b/inquisitive-investigators/.gitignore deleted file mode 100644 index bee78afd..00000000 --- a/inquisitive-investigators/.gitignore +++ /dev/null @@ -1,130 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -pip-wheel-metadata/ -share/python-wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.nox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -.hypothesis/ -.pytest_cache/ - -# Translations -*.mo -*.pot - -# Django stuff: -*.log -local_settings.py -db.sqlite3 -db.sqlite3-journal - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# Jupyter Notebook -.ipynb_checkpoints - -# IPython -profile_default/ -ipython_config.py - -# pyenv -.python-version - -# pipenv -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. -# However, in case of collaboration, if having platform-specific dependencies or dependencies -# having no cross-platform support, pipenv may install dependencies that don't work, or not -# install all needed dependencies. -#Pipfile.lock - -# celery beat schedule file -celerybeat-schedule - -# SageMath parsed files -*.sage.py - -# Environments -.env -.venv -env/ -venv/ -ENV/ -env.bak/ -venv.bak/ - -# Spyder project settings -.spyderproject -.spyproject - -# Rope project settings -.ropeproject - -# mkdocs documentation -/site - -# mypy -.mypy_cache/ -.dmypy.json -dmypy.json - -# Pyre type checker -.pyre/ - -# VS Code -.vscode/ - -# Temporary Project Initializtion Files -proj_init.py diff --git a/inquisitive-investigators/.pre-commit-config.yaml b/inquisitive-investigators/.pre-commit-config.yaml index 8641696e..4070a7cb 100644 --- a/inquisitive-investigators/.pre-commit-config.yaml +++ b/inquisitive-investigators/.pre-commit-config.yaml @@ -1,8 +1,9 @@ -repos: -- repo: local - hooks: - - id: flake8 - name: Flake8 - entry: pipenv run flake8 - language: system - types: [python] +repos: +- repo: local + hooks: + - id: flake8 + name: Flake8 + entry: pipenv run lint + language: python + types: [python] + require_serial: true diff --git a/inquisitive-investigators/Pipfile b/inquisitive-investigators/Pipfile index 8f2e7e50..e00b1ef1 100644 --- a/inquisitive-investigators/Pipfile +++ b/inquisitive-investigators/Pipfile @@ -1,21 +1,19 @@ -[[source]] -name = "pypi" -url = "https://pypi.org/simple" -verify_ssl = true - -[dev-packages] -flake8 = "*" -pre-commit = "*" -flake8-bugbear = "*" - -[packages] -kivy = "*" -kivy-deps-sdl2 = "*" -kivy-deps-glew = "*" - -[requires] -python_version = "3.7" - -[scripts] -flake8 = "python -m flake8" -precommit = "pre-commit install" +[[source]] +name = "pypi" +url = "https://pypi.org/simple" +verify_ssl = true + +[dev-packages] +flake8 = "*" +pre-commit = "*" +flake8-bugbear = "*" + +[packages] +kivy = "*" + +[requires] +python_version = "3.7" + +[scripts] +lint = "python -m flake8" +precommit = "pre-commit install" diff --git a/inquisitive-investigators/Pipfile.lock b/inquisitive-investigators/Pipfile.lock index d771f9e3..f9e5265b 100644 --- a/inquisitive-investigators/Pipfile.lock +++ b/inquisitive-investigators/Pipfile.lock @@ -1,268 +1,244 @@ -{ - "_meta": { - "hash": { - "sha256": "8d7b40715d25b2384364f83d0a571b15f00a045885634fe176ddfb45a6cc85b7" - }, - "pipfile-spec": 6, - "requires": { - "python_version": "3.7" - }, - "sources": [ - { - "name": "pypi", - "url": "https://pypi.org/simple", - "verify_ssl": true - } - ] - }, - "default": { - "certifi": { - "hashes": [ - "sha256:017c25db2a153ce562900032d5bc68e9f191e44e9a0f762f373977de9df1fbb3", - "sha256:25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f" - ], - "version": "==2019.11.28" - }, - "chardet": { - "hashes": [ - "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae", - "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691" - ], - "version": "==3.0.4" - }, - "docutils": { - "hashes": [ - "sha256:0c5b78adfbf7762415433f5515cd5c9e762339e23369dbe8000d84a4bf4ab3af", - "sha256:c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc" - ], - "version": "==0.16" - }, - "idna": { - "hashes": [ - "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407", - "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c" - ], - "version": "==2.8" - }, - "kivy": { - "hashes": [ - "sha256:090d3ded9835a17477cd93fbdaf0a7c42ff2218981cf198ded5ad8795bc74391", - "sha256:11e85eaf6efbfa2362a3334ffdad179a1b0ca8d255cca79eaa6a2765560d4982", - "sha256:1a1ff32f8a95f1e175198cbab81fcd2596783b180d4eafe63e87d171aa7fdb5e", - "sha256:1d28b198a64c30db8d94a0488e85f3037af60d514ab0d7ad5ab45add3ab77090", - "sha256:4a5480cbf837d3780c77a4f61b32b56d22ae9f03845e7a89dd3eaef1ae5fd037", - "sha256:4d0e596f74271e901b551f77661dde238df4765484fce9f5d1c72e8022984e84", - "sha256:5c3d0f2749522d62e9cce09cd54b2d823bf1b6b644ff1f627be49de6f3e3cba0", - "sha256:815a5c0b3b72fcd81ca7b2aa0744087163ed03e4cf9ab4e7c9733cea99fc1571", - "sha256:8819a27a09871af451760cb69486ced52e830c8a0a37480f22ef5e692f12c05b", - "sha256:a687602d90c4629dd036f577ca39acb76ba581370f9d915f3cab99be818ba8ad", - "sha256:b7ef6aad43a86d8df3fb865db864e354f2155a748019f8517f69f65c1a29cb64", - "sha256:b85ccf165050cbf2ee8447671eebbc222b369b40f0e0038dd9547d49a5e37373", - "sha256:c36652caa7f6c327dee834cfc699d5962d346b7a53e54bd81abc17c314226d89", - "sha256:ece170514db3f49844a41e4c910ad9ce9bc46da6f47a49158e11266bdcc6e479", - "sha256:f3bea6e4a21991827885d04127fc6d09a0e974ecfa12da7bf5faae93562ea102", - "sha256:f835462dd9aa491272552ef079b948a088598e2e95d68bb1d885d2c3f3d4e2c3" - ], - "index": "pypi", - "version": "==1.11.1" - }, - "kivy-deps-glew": { - "hashes": [ - "sha256:285c50d706ae94090f96724cc72b47cf89dfdf249057405c2260991caaeb0d64", - "sha256:39bc81b68aa9c3c051472624d5e9cf57e5b8cedcafc3f4d2edc5b26708742a9e", - "sha256:5012c02bce7fa8e59c053b92acb3ea01e0db5790a617fb5985e67cf8a6be28b8", - "sha256:738a222f16b032b5ccd4c686fc51e678d95e4c1f13c57f32233d3cb8aa2f34bf", - "sha256:7fdfa95e3fe6fbcb7efc3e1d32680856a6e72c6399bc5dd76c2e7609b2e9bf58", - "sha256:a6f3230927c776a490bc5c0675265d9fe59a8afde2e7f1f5bb0a6a4c05a49738" - ], - "index": "pypi", - "version": "==0.2.0" - }, - "kivy-deps-sdl2": { - "hashes": [ - "sha256:182ba8686ba7d589d394c3fe07aba7d7187dc17846c118c27ce05aa6a3e9e7cb", - "sha256:34f193da774535c7b1f377d5bf220751491eb479f4b0e2cf4b068419295473cc", - "sha256:86671b769dddf8e7b1ad82773a01a724ff62742bffe4fa8f238d87b4d5f2a0b6", - "sha256:b7e2648e85a43eb25ea61a4cdc9304a3855a8d36d76939b6968efeb81e853b83", - "sha256:c2e1721aac0709f21835c8dd4aec5adea2d58e5df92005585f94d13bed2a2e06", - "sha256:f6c5fff4c1ebb75144e700cfae9fa79ad3b752a14761efe6996031b67d845298" - ], - "index": "pypi", - "version": "==0.2.0" - }, - "kivy-garden": { - "hashes": [ - "sha256:c256f42788421273a08fbb0a228f0fb0e80dd86b629fb8c0920507f645be6c72" - ], - "version": "==0.1.4" - }, - "pygments": { - "hashes": [ - "sha256:2a3fe295e54a20164a9df49c75fa58526d3be48e14aceba6d6b1e8ac0bfd6f1b", - "sha256:98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe" - ], - "version": "==2.5.2" - }, - "requests": { - "hashes": [ - "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4", - "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31" - ], - "version": "==2.22.0" - }, - "urllib3": { - "hashes": [ - "sha256:a8a318824cc77d1fd4b2bec2ded92646630d7fe8619497b142c84a9e6f5a7293", - "sha256:f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745" - ], - "version": "==1.25.7" - } - }, - "develop": { - "aspy.yaml": { - "hashes": [ - "sha256:463372c043f70160a9ec950c3f1e4c3a82db5fca01d334b6bc89c7164d744bdc", - "sha256:e7c742382eff2caed61f87a39d13f99109088e5e93f04d76eb8d4b28aa143f45" - ], - "version": "==1.3.0" - }, - "attrs": { - "hashes": [ - "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c", - "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72" - ], - "version": "==19.3.0" - }, - "cfgv": { - "hashes": [ - "sha256:edb387943b665bf9c434f717bf630fa78aecd53d5900d2e05da6ad6048553144", - "sha256:fbd93c9ab0a523bf7daec408f3be2ed99a980e20b2d19b50fc184ca6b820d289" - ], - "version": "==2.0.1" - }, - "entrypoints": { - "hashes": [ - "sha256:589f874b313739ad35be6e0cd7efde2a4e9b6fea91edcc34e58ecbb8dbe56d19", - "sha256:c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451" - ], - "version": "==0.3" - }, - "flake8": { - "hashes": [ - "sha256:45681a117ecc81e870cbf1262835ae4af5e7a8b08e40b944a8a6e6b895914cfb", - "sha256:49356e766643ad15072a789a20915d3c91dc89fd313ccd71802303fd67e4deca" - ], - "index": "pypi", - "version": "==3.7.9" - }, - "flake8-bugbear": { - "hashes": [ - "sha256:09a12ebe427279cf7aa9445114a68d83a6f0ffccdd4105368d6e85373541eb8f", - "sha256:bc4a35972342256abddf84591fbb82f7360981db1b71e39a8ba0400e906239cf" - ], - "index": "pypi", - "version": "==20.1.2" - }, - "identify": { - "hashes": [ - "sha256:418f3b2313ac0b531139311a6b426854e9cbdfcfb6175447a5039aa6291d8b30", - "sha256:8ad99ed1f3a965612dcb881435bf58abcfbeb05e230bb8c352b51e8eac103360" - ], - "version": "==1.4.10" - }, - "importlib-metadata": { - "hashes": [ - "sha256:bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359", - "sha256:f17c015735e1a88296994c0697ecea7e11db24290941983b08c9feb30921e6d8" - ], - "markers": "python_version < '3.8'", - "version": "==1.4.0" - }, - "mccabe": { - "hashes": [ - "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", - "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f" - ], - "version": "==0.6.1" - }, - "more-itertools": { - "hashes": [ - "sha256:1a2a32c72400d365000412fe08eb4a24ebee89997c18d3d147544f70f5403b39", - "sha256:c468adec578380b6281a114cb8a5db34eb1116277da92d7c46f904f0b52d3288" - ], - "version": "==8.1.0" - }, - "nodeenv": { - "hashes": [ - "sha256:561057acd4ae3809e665a9aaaf214afff110bbb6a6d5c8a96121aea6878408b3" - ], - "version": "==1.3.4" - }, - "pre-commit": { - "hashes": [ - "sha256:8f48d8637bdae6fa70cc97db9c1dd5aa7c5c8bf71968932a380628c25978b850", - "sha256:f92a359477f3252452ae2e8d3029de77aec59415c16ae4189bcfba40b757e029" - ], - "index": "pypi", - "version": "==1.21.0" - }, - "pycodestyle": { - "hashes": [ - "sha256:95a2219d12372f05704562a14ec30bc76b05a5b297b21a5dfe3f6fac3491ae56", - "sha256:e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c" - ], - "version": "==2.5.0" - }, - "pyflakes": { - "hashes": [ - "sha256:17dbeb2e3f4d772725c777fabc446d5634d1038f234e77343108ce445ea69ce0", - "sha256:d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2" - ], - "version": "==2.1.1" - }, - "pyyaml": { - "hashes": [ - "sha256:059b2ee3194d718896c0ad077dd8c043e5e909d9180f387ce42012662a4946d6", - "sha256:1cf708e2ac57f3aabc87405f04b86354f66799c8e62c28c5fc5f88b5521b2dbf", - "sha256:24521fa2890642614558b492b473bee0ac1f8057a7263156b02e8b14c88ce6f5", - "sha256:4fee71aa5bc6ed9d5f116327c04273e25ae31a3020386916905767ec4fc5317e", - "sha256:70024e02197337533eef7b85b068212420f950319cc8c580261963aefc75f811", - "sha256:74782fbd4d4f87ff04159e986886931456a1894c61229be9eaf4de6f6e44b99e", - "sha256:940532b111b1952befd7db542c370887a8611660d2b9becff75d39355303d82d", - "sha256:cb1f2f5e426dc9f07a7681419fe39cee823bb74f723f36f70399123f439e9b20", - "sha256:dbbb2379c19ed6042e8f11f2a2c66d39cceb8aeace421bfc29d085d93eda3689", - "sha256:e3a057b7a64f1222b56e47bcff5e4b94c4f61faac04c7c4ecb1985e18caa3994", - "sha256:e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615" - ], - "version": "==5.3" - }, - "six": { - "hashes": [ - "sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a", - "sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c" - ], - "version": "==1.14.0" - }, - "toml": { - "hashes": [ - "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c", - "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e" - ], - "version": "==0.10.0" - }, - "virtualenv": { - "hashes": [ - "sha256:0d62c70883c0342d59c11d0ddac0d954d0431321a41ab20851facf2b222598f3", - "sha256:55059a7a676e4e19498f1aad09b8313a38fcc0cdbe4fdddc0e9b06946d21b4bb" - ], - "version": "==16.7.9" - }, - "zipp": { - "hashes": [ - "sha256:8dda78f06bd1674bd8720df8a50bb47b6e1233c503a4eed8e7810686bde37656", - "sha256:d38fbe01bbf7a3593a32bc35a9c4453c32bc42b98c377f9bff7e9f8da157786c" - ], - "version": "==1.0.0" - } - } -} +{ + "_meta": { + "hash": { + "sha256": "7e2f57f029f793be1fe4a5fe389a8a0f5ceec7069d8349ccb023f3d4edf8e3e0" + }, + "pipfile-spec": 6, + "requires": { + "python_version": "3.7" + }, + "sources": [ + { + "name": "pypi", + "url": "https://pypi.org/simple", + "verify_ssl": true + } + ] + }, + "default": { + "certifi": { + "hashes": [ + "sha256:017c25db2a153ce562900032d5bc68e9f191e44e9a0f762f373977de9df1fbb3", + "sha256:25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f" + ], + "version": "==2019.11.28" + }, + "chardet": { + "hashes": [ + "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae", + "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691" + ], + "version": "==3.0.4" + }, + "docutils": { + "hashes": [ + "sha256:0c5b78adfbf7762415433f5515cd5c9e762339e23369dbe8000d84a4bf4ab3af", + "sha256:c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc" + ], + "version": "==0.16" + }, + "idna": { + "hashes": [ + "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407", + "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c" + ], + "version": "==2.8" + }, + "kivy": { + "hashes": [ + "sha256:090d3ded9835a17477cd93fbdaf0a7c42ff2218981cf198ded5ad8795bc74391", + "sha256:11e85eaf6efbfa2362a3334ffdad179a1b0ca8d255cca79eaa6a2765560d4982", + "sha256:1a1ff32f8a95f1e175198cbab81fcd2596783b180d4eafe63e87d171aa7fdb5e", + "sha256:1d28b198a64c30db8d94a0488e85f3037af60d514ab0d7ad5ab45add3ab77090", + "sha256:4a5480cbf837d3780c77a4f61b32b56d22ae9f03845e7a89dd3eaef1ae5fd037", + "sha256:4d0e596f74271e901b551f77661dde238df4765484fce9f5d1c72e8022984e84", + "sha256:5c3d0f2749522d62e9cce09cd54b2d823bf1b6b644ff1f627be49de6f3e3cba0", + "sha256:815a5c0b3b72fcd81ca7b2aa0744087163ed03e4cf9ab4e7c9733cea99fc1571", + "sha256:8819a27a09871af451760cb69486ced52e830c8a0a37480f22ef5e692f12c05b", + "sha256:a687602d90c4629dd036f577ca39acb76ba581370f9d915f3cab99be818ba8ad", + "sha256:b7ef6aad43a86d8df3fb865db864e354f2155a748019f8517f69f65c1a29cb64", + "sha256:b85ccf165050cbf2ee8447671eebbc222b369b40f0e0038dd9547d49a5e37373", + "sha256:c36652caa7f6c327dee834cfc699d5962d346b7a53e54bd81abc17c314226d89", + "sha256:ece170514db3f49844a41e4c910ad9ce9bc46da6f47a49158e11266bdcc6e479", + "sha256:f3bea6e4a21991827885d04127fc6d09a0e974ecfa12da7bf5faae93562ea102", + "sha256:f835462dd9aa491272552ef079b948a088598e2e95d68bb1d885d2c3f3d4e2c3" + ], + "index": "pypi", + "version": "==1.11.1" + }, + "kivy-garden": { + "hashes": [ + "sha256:c256f42788421273a08fbb0a228f0fb0e80dd86b629fb8c0920507f645be6c72" + ], + "version": "==0.1.4" + }, + "pygments": { + "hashes": [ + "sha256:2a3fe295e54a20164a9df49c75fa58526d3be48e14aceba6d6b1e8ac0bfd6f1b", + "sha256:98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe" + ], + "version": "==2.5.2" + }, + "requests": { + "hashes": [ + "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4", + "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31" + ], + "version": "==2.22.0" + }, + "urllib3": { + "hashes": [ + "sha256:a8a318824cc77d1fd4b2bec2ded92646630d7fe8619497b142c84a9e6f5a7293", + "sha256:f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745" + ], + "version": "==1.25.7" + } + }, + "develop": { + "aspy.yaml": { + "hashes": [ + "sha256:463372c043f70160a9ec950c3f1e4c3a82db5fca01d334b6bc89c7164d744bdc", + "sha256:e7c742382eff2caed61f87a39d13f99109088e5e93f04d76eb8d4b28aa143f45" + ], + "version": "==1.3.0" + }, + "attrs": { + "hashes": [ + "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c", + "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72" + ], + "version": "==19.3.0" + }, + "cfgv": { + "hashes": [ + "sha256:edb387943b665bf9c434f717bf630fa78aecd53d5900d2e05da6ad6048553144", + "sha256:fbd93c9ab0a523bf7daec408f3be2ed99a980e20b2d19b50fc184ca6b820d289" + ], + "version": "==2.0.1" + }, + "entrypoints": { + "hashes": [ + "sha256:589f874b313739ad35be6e0cd7efde2a4e9b6fea91edcc34e58ecbb8dbe56d19", + "sha256:c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451" + ], + "version": "==0.3" + }, + "flake8": { + "hashes": [ + "sha256:45681a117ecc81e870cbf1262835ae4af5e7a8b08e40b944a8a6e6b895914cfb", + "sha256:49356e766643ad15072a789a20915d3c91dc89fd313ccd71802303fd67e4deca" + ], + "index": "pypi", + "version": "==3.7.9" + }, + "flake8-bugbear": { + "hashes": [ + "sha256:09a12ebe427279cf7aa9445114a68d83a6f0ffccdd4105368d6e85373541eb8f", + "sha256:bc4a35972342256abddf84591fbb82f7360981db1b71e39a8ba0400e906239cf" + ], + "index": "pypi", + "version": "==20.1.2" + }, + "identify": { + "hashes": [ + "sha256:418f3b2313ac0b531139311a6b426854e9cbdfcfb6175447a5039aa6291d8b30", + "sha256:8ad99ed1f3a965612dcb881435bf58abcfbeb05e230bb8c352b51e8eac103360" + ], + "version": "==1.4.10" + }, + "importlib-metadata": { + "hashes": [ + "sha256:bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359", + "sha256:f17c015735e1a88296994c0697ecea7e11db24290941983b08c9feb30921e6d8" + ], + "markers": "python_version < '3.8'", + "version": "==1.4.0" + }, + "mccabe": { + "hashes": [ + "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", + "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f" + ], + "version": "==0.6.1" + }, + "more-itertools": { + "hashes": [ + "sha256:1a2a32c72400d365000412fe08eb4a24ebee89997c18d3d147544f70f5403b39", + "sha256:c468adec578380b6281a114cb8a5db34eb1116277da92d7c46f904f0b52d3288" + ], + "version": "==8.1.0" + }, + "nodeenv": { + "hashes": [ + "sha256:561057acd4ae3809e665a9aaaf214afff110bbb6a6d5c8a96121aea6878408b3" + ], + "version": "==1.3.4" + }, + "pre-commit": { + "hashes": [ + "sha256:8f48d8637bdae6fa70cc97db9c1dd5aa7c5c8bf71968932a380628c25978b850", + "sha256:f92a359477f3252452ae2e8d3029de77aec59415c16ae4189bcfba40b757e029" + ], + "index": "pypi", + "version": "==1.21.0" + }, + "pycodestyle": { + "hashes": [ + "sha256:95a2219d12372f05704562a14ec30bc76b05a5b297b21a5dfe3f6fac3491ae56", + "sha256:e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c" + ], + "version": "==2.5.0" + }, + "pyflakes": { + "hashes": [ + "sha256:17dbeb2e3f4d772725c777fabc446d5634d1038f234e77343108ce445ea69ce0", + "sha256:d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2" + ], + "version": "==2.1.1" + }, + "pyyaml": { + "hashes": [ + "sha256:059b2ee3194d718896c0ad077dd8c043e5e909d9180f387ce42012662a4946d6", + "sha256:1cf708e2ac57f3aabc87405f04b86354f66799c8e62c28c5fc5f88b5521b2dbf", + "sha256:24521fa2890642614558b492b473bee0ac1f8057a7263156b02e8b14c88ce6f5", + "sha256:4fee71aa5bc6ed9d5f116327c04273e25ae31a3020386916905767ec4fc5317e", + "sha256:70024e02197337533eef7b85b068212420f950319cc8c580261963aefc75f811", + "sha256:74782fbd4d4f87ff04159e986886931456a1894c61229be9eaf4de6f6e44b99e", + "sha256:940532b111b1952befd7db542c370887a8611660d2b9becff75d39355303d82d", + "sha256:cb1f2f5e426dc9f07a7681419fe39cee823bb74f723f36f70399123f439e9b20", + "sha256:dbbb2379c19ed6042e8f11f2a2c66d39cceb8aeace421bfc29d085d93eda3689", + "sha256:e3a057b7a64f1222b56e47bcff5e4b94c4f61faac04c7c4ecb1985e18caa3994", + "sha256:e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615" + ], + "version": "==5.3" + }, + "six": { + "hashes": [ + "sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a", + "sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c" + ], + "version": "==1.14.0" + }, + "toml": { + "hashes": [ + "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c", + "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e" + ], + "version": "==0.10.0" + }, + "virtualenv": { + "hashes": [ + "sha256:0d62c70883c0342d59c11d0ddac0d954d0431321a41ab20851facf2b222598f3", + "sha256:55059a7a676e4e19498f1aad09b8313a38fcc0cdbe4fdddc0e9b06946d21b4bb" + ], + "version": "==16.7.9" + }, + "zipp": { + "hashes": [ + "sha256:8dda78f06bd1674bd8720df8a50bb47b6e1233c503a4eed8e7810686bde37656", + "sha256:d38fbe01bbf7a3593a32bc35a9c4453c32bc42b98c377f9bff7e9f8da157786c" + ], + "version": "==1.0.0" + } + } +} diff --git a/inquisitive-investigators/README.md b/inquisitive-investigators/README.md index 4e3b0753..88b9a209 100644 --- a/inquisitive-investigators/README.md +++ b/inquisitive-investigators/README.md @@ -1,14 +1,15 @@ -# Inquisitive Investigators - -Ancient Technology! - -## Installation - Developers - -* Install pipenv: `pip install pipenv` -* Install dependencies: `pipenv sync --dev` - -All dependencies are now installed in a virutal environment. - -## License - -All projects will merged into our Code Jam repository, which uses the [MIT license](../LICENSE). Please make sure that if you add assets, the licenses of those assets are compatible with the MIT license. +# Inquisitive Investigators + +Ancient Technology! + +## Installation - Developers + +* Install pipenv: `pip install pipenv` +* Install dependencies: `pipenv sync --dev` +* Setup pre-commit hooks: `pipenv run precommit` + +All dependencies are now installed in a virutal environment. + +## License + +All projects will merged into our Code Jam repository, which uses the [MIT license](../LICENSE). Please make sure that if you add assets, the licenses of those assets are compatible with the MIT license. From d613f134338f559b211be601c814566ee1186133 Mon Sep 17 00:00:00 2001 From: Den4200 Date: Fri, 17 Jan 2020 15:37:51 -0500 Subject: [PATCH 009/149] remove hooks --- inquisitive-investigators/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inquisitive-investigators/README.md b/inquisitive-investigators/README.md index 88b9a209..0a47b7f2 100644 --- a/inquisitive-investigators/README.md +++ b/inquisitive-investigators/README.md @@ -6,9 +6,8 @@ Ancient Technology! * Install pipenv: `pip install pipenv` * Install dependencies: `pipenv sync --dev` -* Setup pre-commit hooks: `pipenv run precommit` -All dependencies are now installed in a virutal environment. +All dependencies are now installed in a virtual environment. ## License From f14fcbdec2412977e869ef2f57558c93fb22d208 Mon Sep 17 00:00:00 2001 From: Den4200 Date: Fri, 17 Jan 2020 16:59:19 -0500 Subject: [PATCH 010/149] added windows kivy deps --- inquisitive-investigators/Pipfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inquisitive-investigators/Pipfile b/inquisitive-investigators/Pipfile index e00b1ef1..624dddbc 100644 --- a/inquisitive-investigators/Pipfile +++ b/inquisitive-investigators/Pipfile @@ -10,6 +10,8 @@ flake8-bugbear = "*" [packages] kivy = "*" +kivy-deps-sdl2 = "*" +kivy-deps-glew = "*" [requires] python_version = "3.7" From e671f2510c39799fb7a78f3f4664c4c7ea0392bb Mon Sep 17 00:00:00 2001 From: Monika Date: Fri, 17 Jan 2020 19:11:14 -0500 Subject: [PATCH 011/149] Created basic setup of File Explorer --- .../ancient_tech/ancienttech.kv | 84 +++++++++++++++++-- .../ancient_tech/main.py | 29 ++++++- 2 files changed, 102 insertions(+), 11 deletions(-) diff --git a/inquisitive-investigators/ancient_tech/ancienttech.kv b/inquisitive-investigators/ancient_tech/ancienttech.kv index c45a5f48..459919f8 100644 --- a/inquisitive-investigators/ancient_tech/ancienttech.kv +++ b/inquisitive-investigators/ancient_tech/ancienttech.kv @@ -1,14 +1,80 @@
: - # Main Class sets reference of id test to test - test: test + Footer: + pos_hint: {'top': .05} + size_hint: 1,.07 + FileMain: + pos_hint: {'top': 1} + size_hint: 1, .5 +: + canvas: + Color: + rgb: 0,1,0 + Rectangle: + size: self.size + pos: self.pos + orientation: 'horizontal' - # Created a button instance in Main (FloatLayout) - # FloatLayout honors the hint system + FileBrowser: + File: + text: 'Desktop' + File: + text: 'Documents' + File: + text: 'Pictures' + File: + text: 'Videos' + FileBrowser: + File: + text: '/..' + File: + text: 'Nothing to Display since in Sub Directory' + + +: + canvas: + Color: + rgb: 0,0,1 + Rectangle: + size: self.size + pos: self.pos + orientation: 'rl-tb' + spacing: [0,0] +: + size_hint: 1, .1 + + +