Hide ResourceWarning when running rbt post

Review Request #11600 — Created May 8, 2021 and submitted

Information

RBTools
master

Reviewers

Hide ResourceWarning when running rbt post

We often run rbt post in an environment with environment variables PYTHONWARNINGS=default to help discover errors. This spits a lot of subprocess errors when running.

ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:765: ResourceWarning: unclosed file <_io.BufferedReader name=13>
  _cleanup()

These errors stop showing up in unit tests and in rbt post in a private git repo.

Summary ID
Hide ResourceWarning when running rbt post
a02234a2e3689039fb2ba18bff23dc16c0201bb8
Description From Last Updated

E261 at least two spaces before inline comment

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

torcolvin
chipx86
  1. Thanks for the contribution! We'll have this in RBTools 2.0.1 (this week).

  2. 
      
torcolvin
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (ae92446)
Loading...