woxtu
a0c7b7653a
Improve type annotations ( #271 )
...
* Add js-yaml type definition
* Improve type annotations
* Store values to properties
2022-05-07 11:25:05 -05:00
Christian Clauss
4ec24a919a
Remove execute bit from .css and .html files ( #274 )
...
* Remove execute bit from .css and .html files
* pyscriptjs/examples/toga/static/pyscript: Broken symlink
2022-05-07 09:27:31 -05:00
Christian Clauss
fadb4a67e7
pre-commit: Add codespell and other checks ( #263 )
2022-05-06 16:23:14 -05:00
Jannis Leidel
990b0b2797
Make all targets phony. ( #249 )
2022-05-06 14:40:27 -05:00
Bruno Odinukweze
20a70ed3a7
made py-button styling dynamic ( #227 )
...
* made py-button styling dynamic
* added comments
* removed debugging logs
* fixed linting issue with variables
2022-05-06 14:40:03 -05:00
Matt Kramer
cc6d6247a8
Add additional pre-commit hooks ( #245 )
...
* Add and run end-of-file-fixer
* Add and run trailing-whitespace
* Add and run check-yaml
* Add and run check-json
* Add and run pretty-format-yaml
* Fix comment indentation
2022-05-06 14:27:11 -05:00
woxtu
3347532f5e
Add missing type annotations ( #242 )
...
* Remove redundant subscribing
* Add type annotations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Matt Kramer <mkramer@anaconda.com >
2022-05-06 13:29:35 -05:00
Jason Barnwell
707474e835
Changed variable names to snake_case for PEP8 formatting ( #211 )
...
* Changed variable names to snakecase for PEP8 formatting.
* Changed variable names to snakecase for PEP8 formatting.
* fix indentation
Co-authored-by: Fabio Pliger <fabio.pliger@gmail.com >
2022-05-06 12:18:08 -05:00
Allan Lago
facdfdb525
Add keypress event to todo example ( #241 )
...
* add enter keypress event in todo example
* fix linting
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-06 12:08:58 -05:00
Fabio Pliger
b7d748c96a
Moves Python code out of interpreter file ( #207 )
...
* make copy of .py files part of build process
* move code out ofinterpreter file and make it download and load code during initialization
* fix double ; in interpreter
* remove debugging print
* update dependencies
* fix project name and version
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change fmt-py
* lint
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove extra content
* define missing strict type
* create build folder if doesn't exist
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-05 23:12:54 -05:00
Matt Kramer
88a0dd38de
Use black profile in isort to prevent conflicts ( #244 )
...
* Use black profile in isort to prevent conflicts
2022-05-05 22:15:43 -05:00
Maxime Liquet
b5b150a918
add links to the libraries used in the examples ( #224 )
2022-05-05 20:28:57 -05:00
Roman Yurchak
8490b88386
Don't load distutils in the Python standard library ( #234 )
2022-05-05 19:19:10 -05:00
Furkan M. Torun
204c099a84
ADD: Simple Bioinformatics Tool ( #131 )
...
* ADD: Simple Bioinformatics Tool as an example
* ADD: Favicon to Bioinformatics Example
2022-05-05 16:47:30 -05:00
matdmiller
f4ed3591ca
Micrograd example ( #116 )
...
* added micrograd_ai.html and micrograd_ai.py to examples
* added micrograd_ai.html and micrograd_ai.py to examples fix typo
2022-05-05 16:44:14 -05:00
Peter W
6f6efa4525
add config file for pre-commit ( #235 )
...
* add config file
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add isort
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-05 15:12:25 -05:00
Fabio Pliger
f9d2c5e418
Update pyscriptjs/Makefile
...
Co-authored-by: Matt Kramer <matthew.robert.kramer@gmail.com >
2022-05-05 14:12:41 -05:00
Fabio Pliger
0810acdbd6
Merge branch 'main' into fpliger/69_add_makefile
2022-05-05 13:55:05 -05:00
Fabio Pliger
22e6e145c5
improve makefile and add python dev enviroment requirements file
2022-05-05 13:47:55 -05:00
Fabio Pliger
769cc28f05
move setup to top per PR comments
2022-05-05 13:10:29 -05:00
Fabio Pliger
3dc4d44dba
Merge branch 'fpliger/69_add_makefile' of github.com:anaconda/pyscript into fpliger/69_add_makefile
2022-05-05 13:08:55 -05:00
Fabio Pliger
ce19ae6ec9
fix env typo
2022-05-05 13:08:49 -05:00
Fabio Pliger
7ba5dc2d97
Update pyscriptjs/Makefile
...
Co-authored-by: Matt Kramer <matthew.robert.kramer@gmail.com >
2022-05-05 13:06:58 -05:00
Fabio Pliger
9e753e2e60
Update pyscriptjs/Makefile
...
Co-authored-by: Matt Kramer <matthew.robert.kramer@gmail.com >
2022-05-05 13:03:59 -05:00
Fabio Pliger
534a6a6b05
add makefile to automate setup
2022-05-05 10:34:10 -05:00
woxtu
f92c4c5526
Add type annotations
2022-05-05 21:40:00 +09:00
Fabio Pliger
9334592c50
Merge pull request #203 from woxtu/patch
...
Fix attributes to set values correctly
2022-05-04 17:28:02 -05:00
woxtu
454934c2cd
Set to stderr
2022-05-05 06:12:38 +09:00
woxtu
57a4601bfb
Fix typo
2022-05-05 06:06:25 +09:00
Tom
5d7d685a78
fix: fix misspelled logs
2022-05-04 22:12:23 +02:00
Fabio Pliger
6ea96271a4
Merge pull request #192 from cclauss/patch-2
...
interpreter.ts: Typo functions
2022-05-04 14:05:13 -05:00
Fabio Pliger
48ff01279b
Merge pull request #190 from zjhch123/patch-1
...
Update todo-pylist.html
2022-05-04 14:02:38 -05:00
Fabio Pliger
2e40b40e52
Merge pull request #186 from sr2echa/main
...
fix: typos
2022-05-04 13:52:14 -05:00
Fabio Pliger
8895e04c56
Merge pull request #169 from woxtu/patch
...
Fix some typos in docs
2022-05-04 12:55:28 -05:00
Christian Clauss
a6a0933c6c
Fix typo
2022-05-04 18:20:33 +02:00
Christian Clauss
f4a991fd0a
Fix typo
2022-05-04 18:10:10 +02:00
Christian Clauss
c2f4ea7b13
Fix typo
2022-05-04 18:09:23 +02:00
Christian Clauss
4cef872a6a
interpreter.ts: Typo functions
2022-05-04 18:07:52 +02:00
Fabio Pliger
9011f86d40
Merge pull request #121 from pyscript/repr_type_fix
...
Handle __repr__ of types
2022-05-04 10:17:59 -05:00
Yida Zhang
c2305c8a66
Update todo-pylist.html
2022-05-04 22:47:23 +08:00
Sreecharan
d503731a0b
fix: typo
2022-05-04 19:42:06 +05:30
Sreecharan
7524d5662b
fix: typo
2022-05-04 19:39:44 +05:30
woxtu
92420ae2c2
Fix typos
2022-05-04 05:23:11 +09:00
Fabio Pliger
d8cb5f2968
Merge pull request #130 from pyscript/dedent_code
...
Fix dedenting of <py-script> code
2022-05-03 11:42:08 -05:00
Fabio Pliger
f957fdaaa6
remove async from method that is not async anymore
2022-05-03 09:18:57 -05:00
Fabio Pliger
f5a6a87328
Merge branch 'main' into quickfix/pyscript_loading_sequence
2022-05-03 09:04:03 -05:00
Fabio Pliger
ede0adac81
fix some examples
2022-05-03 08:54:36 -05:00
Fabio Pliger
314be1997a
replace using interpreter promise with the interpreter instance itself. Also properly wait for it to be fully initialized before using on the base widget class
2022-05-03 08:54:23 -05:00
Fabio Pliger
f04ef581e1
Merge pull request #88 from sudomaze/fix_absolute_path_examples
...
Fix absolute path when import `.py` files in examples
2022-05-02 19:29:17 -05:00
Philipp Rudiger
4de2a309a4
Merge pull request #119 from santiago-paz/main
...
CSS property type
2022-05-03 01:25:28 +02:00