An open API service for software projects hosted on Open Collective.

github.com/laike9m/Python-Type-Challenges

Master Python typing (type hints) with interactive online exercises!
https://github.com/laike9m/Python-Type-Challenges

Make editor font size 16px, previously it was too big

3aea5778fdbcd7162d7ea6cf4ac30b64b2982d1a authored over 1 year ago
Fix tests

74de74270552e3e67f94c9a2974be31efed2f47c authored over 1 year ago
Key challenges by (level, name), to avoid name conflict

127ba1090fdf3c5d662a2b5afcc11a20f428bad9 authored over 1 year ago
Format code

33afbaed5b3e69e552908594507b5057f6f4c1d3 authored over 1 year ago
Rename utils.py to challenge.py

a6bd025d919458d52593c4ccfd48a010dd5f021a authored over 1 year ago
Add challenges about TypedDict

f0515d2bbb600d051b1abdccc7d1bcc95b4d25fb authored over 1 year ago
Small refactoring

e5e22eaa275f6d752d910291da7d3d477e9b88ae authored over 1 year ago
Adjust challenge level

37daef07619933e9e2c994c3bec41cd963edfb12 authored over 1 year ago
Simplify code, remove challenge_names from ChallengeManager

36f90efe068a9665e6aa7fd6df940f63a9e6adf3 authored over 1 year ago
Adjust CSS

c7da3fe7c222ba4325c3635107d4fa761a0e98d7 authored over 1 year ago
Refine the wording and solutions for some challenges

4ad5e999dd228b46529f72a24d82cb2a843c5239 authored over 1 year ago
Add a test to verify the test code in question and solution are identical (#46)

8317f08571832d0c2fbf8569888a970ffbafd25c authored over 1 year ago
readme

c731acd2e3c6691251a276575e5300bd4c01f7d8 authored over 1 year ago
readme

ea7c4fc1da200193e3606af4dccbf4f119d71f8f authored over 1 year ago
Refine challenge wording

62708c3f5b77948e0465b13c3174314da97090c5 authored over 1 year ago
Refine the original advanced-generic-param challenge, fixed #40

84452d7d13ba385f20347bb89d235df1e975a759 authored over 1 year ago
Add black as a local dependency, format files

6bf8a17f77c48b9f1a78f5efd31a234bf91446e7 authored over 1 year ago
Use type instead of TypeAlias in recursive solution (#45)

Co-authored-by: HUANG Jiaqi <[email protected]>
Co-authored-by: laike9m <[email protected]...

df43045b66558caf3a556b56c698d48d49b9c695 authored over 1 year ago
feat: remove jsdelivr (#43)

* feat: replace jsdelivr to cdnjs

* feat: make js-confetti be local

b0995652ff653a6f867383a17676903c937b7faf authored over 1 year ago
Add test for questions, ignoring two challenges #40

69a7a5a797f682b88a77924d44944fd50f8572ea authored over 1 year ago
chore: Shorten `devserver` command to `dev` (#41)

394fba4174de5022f3a95c8607c6bde28cfbd63f authored over 1 year ago
Remove reportUnknownParameterType to reduce distracting errors

18cb52e3901c3183e9e48615d8c51df8495861cd authored over 1 year ago
Fixed lineno mismatch #20

0cb54c18fea888d27010f2a515758fe573ea686c authored over 1 year ago
Remove stderr from TypeCheckResult

f3458bc6273deff691cfa531d4511bb40a561688 authored over 1 year ago
Adjust title font and spacing

e0665a130d66a869fd2fd1a78d9ea10ccacdae68 authored over 1 year ago
Rename 'Difficulty' to 'Level'

8dff4ff7ca59781ddfa136a2671b409154663c3b authored over 1 year ago
Make editor wider

84381f141e6f659dc59434b9c1abe8bd771dadd3 authored over 1 year ago
Fixed pyright playground link, now it includes test code as well

4ed874110e1b6197eabd2d64b1881bf8c1deb818 authored over 1 year ago
Fixed questions and solutions. All solutions can pass now 🎉

9f64966f3fe409ac2b151ab29ffb145e45175c43 authored over 1 year ago
ci: Add a test to verify that solutions are correct (#38)

Signed-off-by: Frost Ming <[email protected]>

0e1154e54a0bc84aa256090e902bab295bfdbbc3 authored over 1 year ago
Tweak two challenges

10160ca11cec9faffa179e92610b75518a307114 authored over 1 year ago
Add advanced solutions (#28)

Signed-off-by: Mikejj <[email protected]>
Co-authored-by: laike9m <l...

73fa81e3c302a021f2f3e616e78b05ed9234b631 authored over 1 year ago
feat: adjust the style of playground link overlay (#36)

Co-authored-by: laike9m <[email protected]>

5137d0c580fe3b222c1989591627858f5b981271 authored over 1 year ago
refactor(ui): refactor index page (#35)

* refactor(ui): refactor challenges list and sidebar
* Refactor challenge display in index page...

406ab0f69f16b8497ff15751bf79991934098155 authored over 1 year ago
fix: minor adjustment for some solutions (#37)

Signed-off-by: Frost Ming <[email protected]>

69c62f06493423c30eb15dba0ba51640ff689a84 authored over 1 year ago
Add a link to open pyright playground

3f10890cfa0b3d533ac3b1444b3aefe1ec20b4a3 authored over 1 year ago
Remove unnecessary file

df1dcd57fecd4d8d0d3dd76dbaa6ab179c150312 authored over 1 year ago
Update readme

fe09dfa20cb81dec56af921395406263f9abca97 authored over 1 year ago
Add intermediate solutions (#26)

Signed-off-by: Mikejj <[email protected]>
Co-authored-by: Mikejj <66...

5cfe1c0aedf159a65bf0febbffe654f0a084056a authored over 1 year ago
chore(ui): adjust some ui details (#33)

c87846886bcd6924c4604bde68cb53c70900e9bf authored over 1 year ago
Update dev guide

a024e1ce3d98a1ee9c3e100ac7b8ac37f7096c5f authored over 1 year ago
remove post_install

c018b8cd84a787ead05ab6954d2f001526fa98d3 authored over 1 year ago
format

7c546b3f469d06b85b69ac029fc520ed0747bcc8 authored over 1 year ago
Add dev guide

fa333ce35b78dc62807591ba86b9ed293ec940a8 authored over 1 year ago
Use djhtml as the formatter for jinja template files, close #25

8c938c09738d9e6cbcf099b7e52caf6565185456 authored over 1 year ago
feat(ui): add reset button for code editor (#31)

ef34d782d039a5acd3c31138982ca5022e0a1ad9 authored over 1 year ago
Add a test case for intermediate-generic

795aa6abcaa0cd7d39f6f79959cbe70ffe9176e0 authored over 1 year ago
feat: Add confetti effect and return JSON response for challenge result (#32)

* feat: Add confetti effect and return JSON response for
challenge result
* Remove console.log...

325f3d0170549c1ec775cb10791704b0acc3f551 authored over 1 year ago
Show type checker info on UI, fixed #30

3e1e6e8651eddaacce282b9179d69febf3025643 authored over 1 year ago
Update challenge general description

b5f1ed3781f198a9de227a8c2ab48a7294f44309 authored over 1 year ago
feat(ui): add dark theme for editor and adjust some ui details (#24)

* Update styles and error message format
* Add dark theme support to code mirror
* Add theme i...

28cbe8e7d0e49a5a08034f57adca1986aed5e9b3 authored over 1 year ago
Fixed error line matching, so that it works when a single line throws multiple errors

c4942ef899f1f3e2d58b1ceab8b4dafc1ffc76e7 authored over 1 year ago
fix: Change IndentSize from 2 to 4 (#21)

Signed-off-by: Manjusaka <[email protected]>

d10ffecfbb8077f0c6e2390d5abd0533632e9047 authored over 1 year ago
Tell pyright we're using 3.12

4dbbae744f752cefe36f92cb02a2440c82603173 authored over 1 year ago
Fix the basic-optional challenge, as the question could pass without having to answer before. (#22)

54805c8a8791115cc63b5a4c0dfcf92f5dbb7e2e authored over 1 year ago
feat: improve challenge pages UI (#16)

* feat: improve challenge pages ui and format html content
* feat: add pico css and adjust temp...

a2542dc24799217e1ac42ed0ee787af53f24ad52 authored over 1 year ago
Improve error message

53e9f573c4582fd6f7fd8ec34e40a76adede7b7f authored over 1 year ago
Fixed test

43483a399bcbeb0b92656e1ee00d5d1ebd3a8944 authored over 1 year ago
Provide solutions to basic challenges #19

2e5d59373efa8beee33e59b76312310afcd4b3f4 authored over 1 year ago
Switch to pyright

69b3a4421a0d78e052357f5a5d77516d0039b0ef authored over 1 year ago
update deps

31679f28070209468956e4e9070c9ef760923070 authored over 1 year ago
Replace mypy with pyright #9

b26b35edfc8ea756bce513928abd90635e340acc authored over 1 year ago
Migrate existing challenges, update contribution guidance

43e1e4adbc2cec98317b3e8652a835f70154707a authored over 1 year ago
Migrate old challenges and solutions to the new layout #10

9426302778c42f25f6ae6abeb0c5274c8e3842de authored over 1 year ago
Add three new challenges (#12)

68a2c8962fb7513be24e12b69c0a487acff93a0c authored over 1 year ago
feat: improve the layout and judgement of challenges, to make it more strict (#10)

147ed14e3646e4a8987266fcb4ac2290b5ce6a2a authored over 1 year ago
Move gc.collect off the critical path to reduce latency

ea8f540ff18c93cd0fa41dd4548cafb5a7c4021b authored over 1 year ago
Move flex elements to the top

07c23473e5cfadc4be11e5d0cc11b83fb9a40333 authored over 1 year ago
Add new difficulty: #12

4181e596898bbd18f8d2b54e625e73ed93b6e591 authored over 1 year ago
chore(typo): fix typeguard typo (#17)

09e28214c7cf3a7831331f133f68a89bbffa77bf authored over 1 year ago
Stop-gap solution for mypy OOM, by invoking gc for every run #7

5d0bfa8684ffb4d66903668a29eb23131e0382cb authored over 1 year ago
Requires adding solution.py

4611fc5d3a65e51319389cef8199a8362e201528 authored over 1 year ago
feat: provide a requirements.txt(#6)

* feat: provide an alternative traditional requirements.txt so users can install deps locally wi...

e49640b74ef9e84c87d77d1fe1b1e3262706f5d0 authored over 1 year ago
fix typo

c5c4c981c9acbfbc219175dae59cad551e231c21 authored over 1 year ago
Fixed doc example #15

f62ce536b107f8392d15d8006accff6e852eaea0 authored over 1 year ago
feat: show python version at the top (#14)

Signed-off-by: Frost Ming <[email protected]>

b893d193e9f2cfad320c12246254c24051b6b13e authored over 1 year ago
Merge pull request #3 from frostming/challenge/unnamed-args

Add several new challenges

a58098c0f0bc7efc4f2a7f20226ccf4afe89808d authored over 1 year ago
fix: remove one challenge

Signed-off-by: Frost Ming <[email protected]>

270d741ccdc7293b244452e1d63f838ac09d8cff authored over 1 year ago
fix: avoid bypassing

Signed-off-by: Frost Ming <[email protected]>

70e75e4c9e3f810ad17ad63e4be2d29cba487b03 authored over 1 year ago
fix: move generic-params to advanced

Signed-off-by: Frost Ming <[email protected]>

eeec5d6329a240c85c072c0f2e8429ee676ceff8 authored over 1 year ago
adjust the difficulty

Signed-off-by: Frost Ming <[email protected]>

327ed4b7b428eef801b9601fafccb5a8ab97bffc authored over 1 year ago
new challenge: unnamed arg

Signed-off-by: Frost Ming <[email protected]>

a30c368db0738f3380a50be925cbbda0575ae88d authored over 1 year ago
Merge pull request #5 from frostming/feat/move-config

feat: move mypy config to pyproject.toml

5d02792a9d2add4cd589c84b462e6315ccb97a00 authored over 1 year ago
feat: move mypy config to pyproject.toml

Signed-off-by: Frost Ming <[email protected]>

5c5c5872958a330226b8a41cc66d9f3e36bc8af0 authored over 1 year ago
Merge pull request #4 from 100gle/fix-html-typo

chore(typo): replace `<header />` with `<head />` tag

1afa206b422a638b37bedf25c804f90771fbd64e authored over 1 year ago
chore(typo): replace `<header /> with `<head />` tag

a070d85cceda0fd4d70a728d9701ec130c30b62c authored over 1 year ago
Add links

6f8ac65b8e2b8208ba20966383bd60305398a30f authored over 1 year ago
Add credits

890716468535bea74faae85c8d04fc1dfe10cac6 authored over 1 year ago
Fold challenge list when width < 800, always expand on the homepage

4e3ab6c3ba739fa6865c0c914389e21cc38fdef7 authored over 1 year ago
indentUnit: 4

c06ab583c494a06490c475b8d6408e5a7625a025 authored over 1 year ago
Add new challenge "advanced-protocol"

8e6f79af96721c33c9ac2e70c3c0049efd9ef4c2 authored over 1 year ago
update doc

2568cb2a6119111bc68f24c92396e7cd7cdf3cd7 authored over 1 year ago
Add missing file

2a56efc399a6eabe3ffb129ef70460ef634685f1 authored over 1 year ago
Move contribution guidance to a separate file

e369415a4cb9f9c2f42e655bb9800214ad9cf2e6 authored over 1 year ago
Make page look better

d884121a57a232d48254d91c8b6549499729b29e authored over 1 year ago
Add gif to show how to use it

49f632d82dbcdf03754215299186d9c04b6b7a97 authored over 1 year ago
readme link

7b5c11b6764e52240319e418a525c5333f8f08ba authored over 1 year ago
readme

58ab977ec64c86784e609046daa204cdf52ba454 authored over 1 year ago
readme

9abbd19586c647d9a7c5eac6f832713af618ef89 authored over 1 year ago
Small tweaks

e0283181c096e00dc632746c73a5b848af3de493 authored over 1 year ago