Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
B009 Do not call `getattr` with a constant attribute value. It is not any safer than normal property access. The rationale is to hint this is a hack to work around this MyPy error, probably related to the inavailability of os.confstr() outside Unix: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "str") [assignment]
- Loading branch information