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

Lint fails on newest Python #458

Closed
joshuagl opened this issue Nov 16, 2022 · 2 comments · Fixed by #464
Closed

Lint fails on newest Python #458

joshuagl opened this issue Nov 16, 2022 · 2 comments · Fixed by #464

Comments

@joshuagl
Copy link
Collaborator

Description of issue or feature request:

We should be able run the linter with the latest Python 3.11 release

Current behavior:

Running the linter with Python 3.11 fails with numerous no-member/E1101 errors for built-in Python modules, including: os, io, abc, and stat.

Full logs are available from an Actions run on my fork:
https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770

And copy/pasted below in case the logs are removed before we've resolved this.

full log output
lint run-test: commands[2] | pylint -j 0 --rcfile=pylintrc securesystemslib tests
[21](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:22)
************* Module securesystemslib.sphincs_keys
[22](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:23)
securesystemslib/sphincs_keys.py:45:11: E1101: Module 'os' has no 'urandom' member (no-member)
[23](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:24)
************* Module securesystemslib.signer
[24](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:25)
securesystemslib/signer.py:143:20: E1101: Module 'abc' has no 'ABCMeta' member (no-member)
[25](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:26)
securesystemslib/signer.py:145:5: E1101: Module 'abc' has no 'abstractmethod' member (no-member)
[26](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:27)
************* Module securesystemslib.util
[27](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:28)
securesystemslib/util.py:265:16: E1101: Module 'os' has no 'path' member (no-member)
[28](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:29)
securesystemslib/util.py:311:19: E1101: Module 'os' has no 'path' member (no-member)
[29](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:30)
securesystemslib/util.py:312:29: E1101: Module 'os' has no 'path' member (no-member)
[30](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:31)
securesystemslib/util.py:318:11: E1101: Module 'os' has no 'path' member (no-member)
[31](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:32)
************* Module securesystemslib.rsa_keys
[32](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:33)
securesystemslib/rsa_keys.py:938:15: E1101: Module 'os' has no 'urandom' member (no-member)
[33](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:34)
securesystemslib/rsa_keys.py:990:9: E1101: Module 'os' has no 'urandom' member (no-member)
[34](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:35)
************* Module securesystemslib.process
[35](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:36)
securesystemslib/process.py:177:13: E1101: Module 'io' has no 'open' member (no-member)
[36](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:37)
securesystemslib/process.py:179:28: E1101: Module 'os' has no 'fdopen' member (no-member)
[37](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:38)
securesystemslib/process.py:181:28: E1101: Module 'io' has no 'open' member (no-member)
[38](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:39)
securesystemslib/process.py:183:28: E1101: Module 'os' has no 'fdopen' member (no-member)
[39](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:40)
securesystemslib/process.py:198:49: E1101: Module 'io' has no 'DEFAULT_BUFFER_SIZE' member (no-member)
[40](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:41)
securesystemslib/process.py:199:49: E1101: Module 'io' has no 'DEFAULT_BUFFER_SIZE' member (no-member)
[41](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:42)
securesystemslib/process.py:235:8: E1101: Module 'os' has no 'remove' member (no-member)
[42](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:43)
securesystemslib/process.py:236:8: E1101: Module 'os' has no 'remove' member (no-member)
[43](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:44)
************* Module securesystemslib.unittest_toolbox
[44](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:45)
securesystemslib/unittest_toolbox.py:100:12: E1101: Module 'os' has no 'unlink' member (no-member)
[45](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:46)
securesystemslib/unittest_toolbox.py:124:24: E1101: Module 'os' has no 'path' member (no-member)
[46](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:47)
************* Module securesystemslib.storage
[47](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:48)
securesystemslib/storage.py:39:20: E1101: Module 'abc' has no 'ABCMeta' member (no-member)
[48](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:49)
securesystemslib/storage.py:41:5: E1101: Module 'abc' has no 'abstractmethod' member (no-member)
[49](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:50)
securesystemslib/storage.py:67:5: E1101: Module 'abc' has no 'abstractmethod' member (no-member)
[50](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:51)
securesystemslib/storage.py:99:5: E1101: Module 'abc' has no 'abstractmethod' member (no-member)
[51](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:52)
securesystemslib/storage.py:117:5: E1101: Module 'abc' has no 'abstractmethod' member (no-member)
[52](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:53)
securesystemslib/storage.py:136:5: E1101: Module 'abc' has no 'abstractmethod' member (no-member)
[53](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:54)
securesystemslib/storage.py:158:5: E1101: Module 'abc' has no 'abstractmethod' member (no-member)
[54](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:55)
securesystemslib/storage.py:224:12: E1101: Module 'os' has no 'remove' member (no-member)
[55](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:56)
securesystemslib/storage.py:232:21: E1101: Module 'os' has no 'open' member (no-member)
[56](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:57)
securesystemslib/storage.py:234:20: E1101: Module 'os' has no 'O_WRONLY' member (no-member)
[57](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:58)
securesystemslib/storage.py:234:34: E1101: Module 'os' has no 'O_CREAT' member (no-member)
[58](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:59)
securesystemslib/storage.py:235:20: E1101: Module 'stat' has no 'S_IRUSR' member (no-member)
[59](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:60)
securesystemslib/storage.py:235:35: E1101: Module 'stat' has no 'S_IWUSR' member (no-member)
[60](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:61)
securesystemslib/storage.py:243:21: E1101: Module 'os' has no 'open' member (no-member)
[61](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:62)
securesystemslib/storage.py:243:39: E1101: Module 'os' has no 'O_WRONLY' member (no-member)
[62](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:63)
securesystemslib/storage.py:243:53: E1101: Module 'os' has no 'O_CREAT' member (no-member)
[63](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:64)
securesystemslib/storage.py:245:17: E1101: Module 'os' has no 'fdopen' member (no-member)
[64](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:65)
securesystemslib/storage.py:250:16: E1101: Module 'os' has no 'fsync' member (no-member)
[65](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:66)
securesystemslib/storage.py:259:12: E1101: Module 'os' has no 'remove' member (no-member)
[66](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:67)
securesystemslib/storage.py:272:19: E1101: Module 'os' has no 'path' member (no-member)
[67](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:68)
securesystemslib/storage.py:281:12: E1101: Module 'os' has no 'makedirs' member (no-member)
[68](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:69)
securesystemslib/storage.py:300:19: E1101: Module 'os' has no 'listdir' member (no-member)
[69](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:70)
************* Module securesystemslib.interface
[70](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:71)
securesystemslib/interface.py:219:19: E1101: Module 'os' has no 'path' member (no-member)
[71](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:72)
securesystemslib/interface.py:219:32: E1101: Module 'os' has no 'getcwd' member (no-member)
[72](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:73)
securesystemslib/interface.py:490:19: E1101: Module 'os' has no 'path' member (no-member)
[73](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:74)
securesystemslib/interface.py:490:32: E1101: Module 'os' has no 'getcwd' member (no-member)
[74](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:75)
securesystemslib/interface.py:740:19: E1101: Module 'os' has no 'path' member (no-member)
[75](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:76)
securesystemslib/interface.py:740:32: E1101: Module 'os' has no 'getcwd' member (no-member)
[76](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:77)
************* Module securesystemslib.ed25519_keys
[77](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:78)
securesystemslib/ed25519_keys.py:136:11: E1101: Module 'os' has no 'urandom' member (no-member)
[78](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:79)
************* Module securesystemslib.gpg.constants
[79](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:80)
securesystemslib/gpg/constants.py:39:18: E1101: Module 'os' has no 'environ' member (no-member)
[80](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:81)
************* Module tests.test_ed25519_keys
[81](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:82)
tests/test_ed25519_keys.py:113:24: E1101: Module 'os' has no 'urandom' member (no-member)
[82](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:83)
************* Module tests.test_process
[83](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:84)
tests/test_process.py:38:8: E1101: Module 'os' has no 'write' member (no-member)
[84](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:85)
tests/test_process.py:39:8: E1101: Module 'os' has no 'close' member (no-member)
[85](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:86)
tests/test_process.py:65:8: E1101: Module 'os' has no 'remove' member (no-member)
[86](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:87)
tests/test_process.py:80:13: E1101: Module 'io' has no 'open' member (no-member)
[87](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:88)
tests/test_process.py:82:33: E1101: Module 'os' has no 'fdopen' member (no-member)
[88](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:89)
tests/test_process.py:84:33: E1101: Module 'io' has no 'open' member (no-member)
[89](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:90)
tests/test_process.py:86:33: E1101: Module 'os' has no 'fdopen' member (no-member)
[90](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:91)
tests/test_process.py:118:8: E1101: Module 'os' has no 'remove' member (no-member)
[91](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:92)
tests/test_process.py:119:8: E1101: Module 'os' has no 'remove' member (no-member)
[92](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:93)
************* Module tests.check_public_interfaces
[93](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:94)
tests/check_public_interfaces.py:58:44: E1101: Module 'os' has no 'getcwd' member (no-member)
[94](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:95)
tests/check_public_interfaces.py:101:19: E1101: Module 'os' has no 'path' member (no-member)
[95](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:96)
tests/check_public_interfaces.py:135:19: E1101: Module 'os' has no 'path' member (no-member)
[96](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:97)
tests/check_public_interfaces.py:172:19: E1101: Module 'os' has no 'path' member (no-member)
[97](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:98)
************* Module tests.test_gpg
[98](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:99)
tests/test_gpg.py:236:27: E1101: Module 'os' has no 'path' member (no-member)
[99](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:100)
tests/test_gpg.py:237:12: E1101: Module 'os' has no 'path' member (no-member)
[100](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:101)
tests/test_gpg.py:237:28: E1101: Module 'os' has no 'path' member (no-member)
[101](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:102)
tests/test_gpg.py:616:27: E1101: Module 'os' has no 'getcwd' member (no-member)
[102](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:103)
tests/test_gpg.py:619:27: E1101: Module 'os' has no 'path' member (no-member)
[103](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:104)
tests/test_gpg.py:620:12: E1101: Module 'os' has no 'path' member (no-member)
[104](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:105)
tests/test_gpg.py:620:28: E1101: Module 'os' has no 'path' member (no-member)
[105](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:106)
tests/test_gpg.py:623:24: E1101: Module 'os' has no 'path' member (no-member)
[106](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:107)
tests/test_gpg.py:624:26: E1101: Module 'os' has no 'path' member (no-member)
[107](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:108)
tests/test_gpg.py:626:8: E1101: Module 'os' has no 'chdir' member (no-member)
[108](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:109)
tests/test_gpg.py:631:8: E1101: Module 'os' has no 'chdir' member (no-member)
[109](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:110)
tests/test_gpg.py:659:23: E1101: Module 'os' has no 'path' member (no-member)
[110](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:111)
tests/test_gpg.py:730:28: E1101: Module 'os' has no 'environ' member (no-member)
[111](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:112)
tests/test_gpg.py:731:8: E1101: Module 'os' has no 'environ' member (no-member)
[112](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:113)
tests/test_gpg.py:739:12: E1101: Module 'os' has no 'environ' member (no-member)
[113](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:114)
tests/test_gpg.py:741:16: E1101: Module 'os' has no 'environ' member (no-member)
[114](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:115)
tests/test_gpg.py:797:27: E1101: Module 'os' has no 'getcwd' member (no-member)
[115](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:116)
tests/test_gpg.py:798:24: E1101: Module 'os' has no 'path' member (no-member)
[116](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:117)
tests/test_gpg.py:799:26: E1101: Module 'os' has no 'path' member (no-member)
[117](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:118)
tests/test_gpg.py:802:19: E1101: Module 'os' has no 'path' member (no-member)
[118](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:119)
tests/test_gpg.py:803:12: E1101: Module 'os' has no 'path' member (no-member)
[119](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:120)
tests/test_gpg.py:803:28: E1101: Module 'os' has no 'path' member (no-member)
[120](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:121)
tests/test_gpg.py:807:8: E1101: Module 'os' has no 'chdir' member (no-member)
[121](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:122)
tests/test_gpg.py:812:8: E1101: Module 'os' has no 'chdir' member (no-member)
[122](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:123)
tests/test_gpg.py:834:23: E1101: Module 'os' has no 'path' member (no-member)
[123](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:124)
tests/test_gpg.py:896:27: E1101: Module 'os' has no 'getcwd' member (no-member)
[124](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:125)
tests/test_gpg.py:897:24: E1101: Module 'os' has no 'path' member (no-member)
[125](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:126)
tests/test_gpg.py:898:26: E1101: Module 'os' has no 'path' member (no-member)
[126](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:127)
tests/test_gpg.py:901:19: E1101: Module 'os' has no 'path' member (no-member)
[127](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:128)
tests/test_gpg.py:902:12: E1101: Module 'os' has no 'path' member (no-member)
[128](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:129)
tests/test_gpg.py:902:28: E1101: Module 'os' has no 'path' member (no-member)
[129](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:130)
tests/test_gpg.py:906:8: E1101: Module 'os' has no 'chdir' member (no-member)
[130](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:131)
tests/test_gpg.py:911:8: E1101: Module 'os' has no 'chdir' member (no-member)
[131](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:132)
tests/test_gpg.py:946:25: E1101: Module 'os' has no 'path' member (no-member)
[132](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:133)
************* Module tests.test_signer
[133](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:134)
tests/test_signer.py:124:26: E1101: Module 'os' has no 'getcwd' member (no-member)
[134](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:135)
tests/test_signer.py:129:27: E1101: Module 'os' has no 'path' member (no-member)
[135](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:136)
tests/test_signer.py:130:12: E1101: Module 'os' has no 'path' member (no-member)
[136](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:137)
tests/test_signer.py:130:28: E1101: Module 'os' has no 'path' member (no-member)
[137](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:138)
tests/test_signer.py:133:23: E1101: Module 'os' has no 'path' member (no-member)
[138](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:139)
tests/test_signer.py:134:25: E1101: Module 'os' has no 'path' member (no-member)
[139](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:140)
tests/test_signer.py:136:8: E1101: Module 'os' has no 'chdir' member (no-member)
[140](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:141)
tests/test_signer.py:142:8: E1101: Module 'os' has no 'chdir' member (no-member)
[141](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:142)
************* Module tests.test_storage
[142](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:143)
tests/test_storage.py:30:45: E1101: Module 'os' has no 'getcwd' member (no-member)
[143](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:144)
tests/test_storage.py:31:24: E1101: Module 'os' has no 'path' member (no-member)
[144](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:145)
tests/test_storage.py:86:12: E1101: Module 'os' has no 'path' member (no-member)
[145](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:146)
tests/test_storage.py:89:19: E1101: Module 'os' has no 'path' member (no-member)
[146](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:147)
tests/test_storage.py:96:24: E1101: Module 'os' has no 'path' member (no-member)
[147](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:148)
tests/test_storage.py:98:25: E1101: Module 'os' has no 'path' member (no-member)
[148](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:149)
tests/test_storage.py:102:17: E1101: Module 'os' has no 'path' member (no-member)
[149](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:150)
tests/test_storage.py:105:22: E1101: Module 'os' has no 'path' member (no-member)
[150](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:151)
************* Module tests.test_util
[151](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:152)
tests/test_util.py:60:22: E1101: Module 'os' has no 'path' member (no-member)
[152](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:153)
tests/test_util.py:141:22: E1101: Module 'os' has no 'path' member (no-member)
[153](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:154)
tests/test_util.py:173:34: E1101: Module 'os' has no 'path' member (no-member)
[154](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:155)
tests/test_util.py:183:20: E1101: Module 'os' has no 'path' member (no-member)
[155](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:156)
tests/test_util.py:185:32: E1101: Module 'os' has no 'path' member (no-member)
[156](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:157)
tests/test_util.py:314:20: E1101: Module 'os' has no 'path' member (no-member)
[157](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:158)
tests/test_util.py:326:24: E1101: Module 'stat' has no 'S_IFREG' member (no-member)
[158](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:159)
tests/test_util.py:326:39: E1101: Module 'stat' has no 'S_IRUSR' member (no-member)
[159](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:160)
tests/test_util.py:326:54: E1101: Module 'stat' has no 'S_IWUSR' member (no-member)
[160](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:161)
tests/test_util.py:327:11: E1101: Module 'os' has no 'name' member (no-member)
[161](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:162)
tests/test_util.py:330:16: E1101: Module 'stat' has no 'S_IFREG' member (no-member)
[162](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:163)
tests/test_util.py:331:18: E1101: Module 'stat' has no 'S_IWUSR' member (no-member)
[163](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:164)
tests/test_util.py:332:18: E1101: Module 'stat' has no 'S_IRUSR' member (no-member)
[164](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:165)
tests/test_util.py:333:18: E1101: Module 'stat' has no 'S_IWGRP' member (no-member)
[165](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:166)
tests/test_util.py:334:18: E1101: Module 'stat' has no 'S_IRGRP' member (no-member)
[166](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:167)
tests/test_util.py:335:18: E1101: Module 'stat' has no 'S_IWOTH' member (no-member)
[167](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:168)
tests/test_util.py:336:18: E1101: Module 'stat' has no 'S_IROTH' member (no-member)
[168](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:169)
tests/test_util.py:338:25: E1101: Module 'os' has no 'stat' member (no-member)
[169](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:170)
tests/test_util.py:342:21: E1101: Module 'os' has no 'path' member (no-member)
[170](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:171)
tests/test_util.py:361:8: E1101: Module 'os' has no 'rmdir' member (no-member)
[171](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:172)
************* Module tests.test_hash
[172](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:173)
tests/test_hash.py:223:12: E1101: Module 'os' has no 'write' member (no-member)
[173](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:174)
tests/test_hash.py:224:12: E1101: Module 'os' has no 'close' member (no-member)
[174](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:175)
tests/test_hash.py:237:12: E1101: Module 'os' has no 'remove' member (no-member)
[175](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:176)
tests/test_hash.py:249:12: E1101: Module 'os' has no 'write' member (no-member)
[176](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:177)
tests/test_hash.py:250:12: E1101: Module 'os' has no 'close' member (no-member)
[177](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:178)
tests/test_hash.py:263:12: E1101: Module 'os' has no 'remove' member (no-member)
[178](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:179)
tests/test_hash.py:272:19: E1101: Module 'io' has no 'StringIO' member (no-member)
[179](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:180)
************* Module tests.test_interface
[180](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:181)
tests/test_interface.py:86:28: E1101: Module 'os' has no 'path' member (no-member)
[181](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:182)
tests/test_interface.py:87:12: E1101: Module 'os' has no 'path' member (no-member)
[182](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:183)
tests/test_interface.py:87:28: E1101: Module 'os' has no 'path' member (no-member)
[183](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:184)
tests/test_interface.py:90:23: E1101: Module 'os' has no 'path' member (no-member)
[184](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:185)
tests/test_interface.py:91:27: E1101: Module 'os' has no 'path' member (no-member)
[185](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:186)
tests/test_interface.py:94:25: E1101: Module 'os' has no 'path' member (no-member)
[186](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:187)
tests/test_interface.py:97:26: E1101: Module 'os' has no 'path' member (no-member)
[187](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:188)
tests/test_interface.py:99:23: E1101: Module 'os' has no 'getcwd' member (no-member)
[188](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:189)
tests/test_interface.py:103:8: E1101: Module 'os' has no 'chdir' member (no-member)
[189](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:190)
tests/test_interface.py:106:8: E1101: Module 'os' has no 'chdir' member (no-member)
[190](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:191)
tests/test_interface.py:144:12: E1101: Module 'os' has no 'path' member (no-member)
[191](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:192)
tests/test_interface.py:405:12: E1101: Module 'os' has no 'path' member (no-member)
[192](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:193)
tests/test_interface.py:657:12: E1101: Module 'os' has no 'path' member (no-member)
[193](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:194)
tests/test_interface.py:868:29: E1101: Module 'stat' has no 'S_IFREG' member (no-member)
[194](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:195)
tests/test_interface.py:868:44: E1101: Module 'stat' has no 'S_IRUSR' member (no-member)
[195](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:196)
tests/test_interface.py:868:59: E1101: Module 'stat' has no 'S_IWUSR' member (no-member)
[196](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:197)
tests/test_interface.py:907:29: E1101: Module 'os' has no 'stat' member (no-member)
[197](https://github.com/joshuagl/securesystemslib/actions/runs/3478856703/jobs/5816712770#step:7:198)
tests/test_interface.py:941:16: E1101: Module 'os' has no 'stat' member (no-member)

Expected behavior:

@jku
Copy link
Collaborator

jku commented Nov 21, 2022

pylint==3.0.0a5

tox is configured to install pre-releases of our dependencies (pip install --pre): I think we don't want that?

@joshuagl
Copy link
Collaborator Author

joshuagl commented Nov 23, 2022

Oh, well spotted. I'd say we definitely do not want that. @lukpueh any opinions here?

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 a pull request may close this issue.

2 participants