Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix filtering and lifting by a tag with a variable #1223

Merged
merged 8 commits into from
May 13, 2019
Merged

Conversation

jnwatson
Copy link
Contributor

@jnwatson jnwatson commented May 8, 2019

No description provided.

@codecov
Copy link

codecov bot commented May 8, 2019

Codecov Report

Merging #1223 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1223      +/-   ##
==========================================
+ Coverage   93.94%   93.95%   +<.01%     
==========================================
  Files         126      126              
  Lines       16128    16143      +15     
==========================================
+ Hits        15152    15167      +15     
  Misses        976      976
Impacted Files Coverage Δ
synapse/lib/ast.py 94.24% <100%> (+0.07%) ⬆️

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 8bdebf2...ecf1710. Read the comment docs.

synapse/lib/ast.py Outdated Show resolved Hide resolved
name = await kid.compute(path)

if name == '*':
return bool(node.tags)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3 avoidance of conditional logic

@jnwatson jnwatson requested a review from invisig0th May 9, 2019 01:28
@vEpiphyte vEpiphyte added this to the v0.1.5 milestone May 9, 2019
@vEpiphyte vEpiphyte added the bug label May 9, 2019
@vertexproject vertexproject deleted a comment from codecov bot May 9, 2019
@jnwatson jnwatson merged commit f8d402f into master May 13, 2019
@jnwatson jnwatson deleted the var-scope branch May 13, 2019 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants