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

Remove unnecessary list operations #1456

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Remove unnecessary list operations #1456

merged 1 commit into from
Oct 20, 2022

Conversation

Tortar
Copy link
Contributor

@Tortar Tortar commented Oct 18, 2022

The transformation in list is not necessary to iterate over the keys

@codecov
Copy link

codecov bot commented Oct 18, 2022

Codecov Report

Base: 91.17% // Head: 91.16% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (4b26319) compared to base (2003eea).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head 4b26319 differs from pull request most recent head b9247bf. Consider uploading reports for the commit b9247bf to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1456      +/-   ##
==========================================
- Coverage   91.17%   91.16%   -0.02%     
==========================================
  Files          15       15              
  Lines        1292     1290       -2     
  Branches      218      218              
==========================================
- Hits         1178     1176       -2     
  Misses         81       81              
  Partials       33       33              
Impacted Files Coverage Δ
mesa/time.py 94.79% <100.00%> (-0.11%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Tortar Tortar marked this pull request as draft October 19, 2022 13:08
@Tortar Tortar force-pushed the patch-9 branch 2 times, most recently from ecf7bb4 to 3235917 Compare October 19, 2022 23:12
@Tortar Tortar marked this pull request as ready for review October 19, 2022 23:13
@Tortar
Copy link
Contributor Author

Tortar commented Oct 19, 2022

Made all necessary changes I think @rht

@rht
Copy link
Contributor

rht commented Oct 20, 2022

LGTM

@rht rht merged commit af23b8b into projectmesa:main Oct 20, 2022
@Tortar Tortar deleted the patch-9 branch October 22, 2022 11:36
Tortar added a commit to Tortar/mesa that referenced this pull request Nov 7, 2022
These PRs are reversed because they
introduce the bug discussed in projectmesa#1515
Tortar added a commit to Tortar/mesa that referenced this pull request Nov 7, 2022
These PRs are reverted because they
introduce the bug discussed in projectmesa#1515
rht added a commit that referenced this pull request Nov 8, 2022
* Revert changes of #1478 and parts of #1456

These PRs are reverted because they
introduce the bug discussed in #1515 
which prevents agents from being added/removed
while looping through the agent keys.

* Update time.py

* Add full stop to comment.

* Add more full stop to comment

Co-authored-by: rht <rhtbot@protonmail.com>
@jackiekazil jackiekazil added this to the v1.2.0 Taylor milestone Feb 27, 2023
@rht rht removed this from the v1.2.0 Taylor milestone Feb 27, 2023
@jackiekazil jackiekazil mentioned this pull request Mar 7, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants