diff options
author | Ollie <46904826+ollie-iterators@users.noreply.github.com> | 2023-03-02 13:49:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 19:49:28 +0100 |
commit | 5337e6280e76e13d1922b03ffeba7887a00e6356 (patch) | |
tree | 712fb303a3f03615c0a5fb224668298485803dba /pylint/lint | |
parent | 61844d87bd03be1233a431186efe5d61ccc758c9 (diff) | |
download | pylint-git-5337e6280e76e13d1922b03ffeba7887a00e6356.tar.gz |
Changing flake8 to have max-line-length of 115 (#8362)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylint/lint')
-rw-r--r-- | pylint/lint/run.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/lint/run.py b/pylint/lint/run.py index a753f7868..2232c41a3 100644 --- a/pylint/lint/run.py +++ b/pylint/lint/run.py @@ -56,7 +56,8 @@ def _query_cpu() -> int | None: ): with open("/sys/fs/cgroup/cpu/cpu.cfs_period_us", encoding="utf-8") as file: cpu_period = int(file.read().rstrip()) - # Divide quota by period and you should get num of allotted CPU to the container, rounded down if fractional. + # Divide quota by period and you should get num of allotted CPU to the container, + # rounded down if fractional. avail_cpu = int(cpu_quota / cpu_period) elif Path("/sys/fs/cgroup/cpu/cpu.shares").is_file(): with open("/sys/fs/cgroup/cpu/cpu.shares", encoding="utf-8") as file: |