avrae / draconic

The Draconic language: a scripting language based off Python to run user scripts on the server safely.
MIT License
18 stars 9 forks source link

Implement Assignment Expressions (NamedExpr) #1

Closed Infinidoge closed 4 years ago

Infinidoge commented 4 years ago

Summary

Implements Python 3.8's Assignment Expressions (called NamedExpr within the ast

Checklist

PR Type

codecov[bot] commented 4 years ago

Codecov Report

Merging #1 into master will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
+ Coverage   99.05%   99.09%   +0.03%     
==========================================
  Files          10       10              
  Lines        1275     1322      +47     
==========================================
+ Hits         1263     1310      +47     
  Misses         12       12              
Impacted Files Coverage Δ
draconic/interpreter.py 97.91% <100.00%> (+0.03%) :arrow_up:
tests/test_executors.py 100.00% <100.00%> (ø)
tests/test_language.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0105c5b...c1e62fc. Read the comment docs.