-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
False positive DirectMagicAttributeAccessViolation with __subclasses__ #1314
Comments
|
But it should be excluded too, of course. |
Hi, I have never contributed to an open-source project before but I would like to start here :) I have already forked the repository and cloned it. |
@mattany thanks a lot! And congrats on your first open-source fork 🎉 I am going to help you!
And let's start from here: we can create a whitelist of method names that can be called. Feel free to ask any questions! |
Thank you! I noticed that in attributes.py there is already a whitelist like what you suggested:
It already includes On the same subject, perhaps the excluded ones should be called from certain contexts and not from others? If there are contexts from which they too shouldn't be accessed directly, perhaps there is a way to discern between the 'good' and 'bad' calls? Just thought I would share in case we can make the exception even better. |
Let's also add |
Great. I issued a pull request. Hope I did it right 😄 |
@AlwxSin submit a PR then 🛷 |
* Changes wps action * fix checking wrong variable naming should be case insensitive (#1278) * fix: check wrong variable name as case insensitive Issue #1275 * test: add test_wrong_variable_name_case_insensitive Issue #1275 * docs: add bugfix changelog entry in 0.15.0 Issue: #1275 * test: add integration test for uppercase wrong name Issue: #1275 * lint: fix import sorting and empty lines separation * refactor: pass ignored_types as a tuple * test: add class_name fixture template * Bump docutils from 0.13.1 to 0.16 (#1289) Bumps [docutils](http://docutils.sourceforge.net/) from 0.13.1 to 0.16. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump importlib-metadata from 1.5.0 to 1.5.2 (#1288) Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.5.0 to 1.5.2. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Updates dependencies * Bump importlib-metadata from 1.5.2 to 1.6.0 (#1302) Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.5.2 to 1.6.0. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-isort from 2.9.0 to 2.9.1 (#1301) Bumps [flake8-isort](https://github.com/gforcada/flake8-isort) from 2.9.0 to 2.9.1. - [Release notes](https://github.com/gforcada/flake8-isort/releases) - [Changelog](https://github.com/gforcada/flake8-isort/blob/master/CHANGES.rst) - [Commits](gforcada/flake8-isort@2.9.0...2.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Create test.yml * Delete .travis.yml * Update README.md * Update Makefile * Update test.yml * Update setup.cfg * Update test.yml * Update test.yml * Update test.yml * Fixes CI * Fixes CI * Fixes CI * Fixes CI * Update typing-extensions from 3.7.4.1 to 3.7.4.2 (#1305) * Bump typing-extensions from 3.7.4.1 to 3.7.4.2 (#1306) Bumps [typing-extensions](https://github.com/python/typing) from 3.7.4.1 to 3.7.4.2. - [Release notes](https://github.com/python/typing/releases) - [Commits](https://github.com/python/typing/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump python from 3.7-alpine to 3.8.2-alpine (#1300) Bumps python from 3.7-alpine to 3.8.2-alpine. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update sphinx from 2.4.4 to 3.0.0 (#1313) * Closes #1308 * Fixes CI * Fixes CI * Bump coveralls from 1.11.1 to 2.0.0 (#1316) Bumps [coveralls](https://github.com/coveralls-clients/coveralls-python) from 1.11.1 to 2.0.0. - [Release notes](https://github.com/coveralls-clients/coveralls-python/releases) - [Changelog](https://github.com/coveralls-clients/coveralls-python/blob/master/CHANGELOG.md) - [Commits](TheKevJames/coveralls-python@1.11.1...2.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinx from 2.4.4 to 3.0.0 (#1310) Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.4.4 to 3.0.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](sphinx-doc/sphinx@v2.4.4...v3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesmith from 0.0.5 to 0.0.6 (#1322) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.5 to 0.0.6. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinxcontrib-mermaid from 0.3.1 to 0.4.0 (#1326) Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/mgaitan/sphinxcontrib-mermaid/releases) - [Changelog](https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/CHANGELOG.rst) - [Commits](mgaitan/sphinxcontrib-mermaid@0.3.1...0.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinxcontrib-mermaid from 0.3.1 to 0.4.0 in /docs (#1325) Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/mgaitan/sphinxcontrib-mermaid/releases) - [Changelog](https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/CHANGELOG.rst) - [Commits](mgaitan/sphinxcontrib-mermaid@0.3.1...0.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update test.yml * Update README.md * Updates flake8-pytest-style * added __subclasses__ and __mro__ to exclusions of DirectMagicAttributeAccessViolation (#1324) * added __subclasses__ and __mro__ to exclusions of DirectMagicAttributeAccessViolation * updated test_magic_attributes suite * pep8 * pep8 * Trigger tests * Trigger tests * Fixing rtd * docs-fix (issue-#1328) (#1331) * documentation-update * documentation-fix * Bump hypothesis from 5.8.0 to 5.8.3 (#1334) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.0 to 5.8.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.8.0...hypothesis-python-5.8.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update FUNDING.yml * Update tomlkit from 0.5.11 to 0.6.0 (#1336) * Bump hypothesis from 5.8.3 to 5.9.0 (#1341) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.3 to 5.9.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.8.3...hypothesis-python-5.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-isort from 2.9.1 to 3.0.0 (#1338) Bumps [flake8-isort](https://github.com/gforcada/flake8-isort) from 2.9.1 to 3.0.0. - [Release notes](https://github.com/gforcada/flake8-isort/releases) - [Changelog](https://github.com/gforcada/flake8-isort/blob/master/CHANGES.rst) - [Commits](gforcada/flake8-isort@2.9.1...3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump pytest-randomly from 3.2.1 to 3.3.1 (#1339) Bumps [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) from 3.2.1 to 3.3.1. - [Release notes](https://github.com/pytest-dev/pytest-randomly/releases) - [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/master/HISTORY.rst) - [Commits](pytest-dev/pytest-randomly@3.2.1...3.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.9.0 to 5.9.1 (#1342) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.9.0 to 5.9.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.9.0...hypothesis-python-5.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-pytest-style from 1.0.0 to 1.1.0 (#1340) Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/m-burst/flake8-pytest-style/releases) - [Commits](m-burst/flake8-pytest-style@v1.0.0...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump tomlkit from 0.5.11 to 0.6.0 (#1337) Bumps [tomlkit](https://github.com/sdispater/tomlkit) from 0.5.11 to 0.6.0. - [Release notes](https://github.com/sdispater/tomlkit/releases) - [Changelog](https://github.com/sdispater/tomlkit/blob/master/CHANGELOG.md) - [Commits](python-poetry/tomlkit@0.5.11...0.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * remove false positive DirectMagicAttributeAccessViolation on __version__ (#1345) #1314 * Bump hypothesmith from 0.0.6 to 0.0.7 (#1351) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.6 to 0.0.7. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump darglint from 1.2.2 to 1.2.3 (#1349) Bumps [darglint](https://github.com/raddessi/SublimeLinter-contrib-darglint) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/raddessi/SublimeLinter-contrib-darglint/releases) - [Commits](https://github.com/raddessi/SublimeLinter-contrib-darglint/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-pytest-style from 1.1.0 to 1.1.1 (#1350) Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/m-burst/flake8-pytest-style/releases) - [Commits](m-burst/flake8-pytest-style@v1.1.0...v1.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.9.1 to 5.10.1 (#1348) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.9.1 to 5.10.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.9.1...hypothesis-python-5.10.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Add FloatComplexCompareViolation and corresponding visitor * Add E2E testcase for WPS454 * Add unit tests for WPS454 * Update CHANGELOG.md * Issue 1344: Make changes requested in code review * Issue 1344: Update E2E test * Merge * Merge Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Ammar Najjar <ammarnajjar@users.noreply.github.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: pyup.io bot <github-bot@pyup.io> Co-authored-by: Mattan Yeroushalmi <mattany@gmail.com> Co-authored-by: Priyanshu Sharma <59313375+priyanshu20@users.noreply.github.com> Co-authored-by: Alwx <alwxsin@gmail.com>
* Changes wps action * fix checking wrong variable naming should be case insensitive (#1278) * fix: check wrong variable name as case insensitive Issue #1275 * test: add test_wrong_variable_name_case_insensitive Issue #1275 * docs: add bugfix changelog entry in 0.15.0 Issue: #1275 * test: add integration test for uppercase wrong name Issue: #1275 * lint: fix import sorting and empty lines separation * refactor: pass ignored_types as a tuple * test: add class_name fixture template * Bump docutils from 0.13.1 to 0.16 (#1289) Bumps [docutils](http://docutils.sourceforge.net/) from 0.13.1 to 0.16. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump importlib-metadata from 1.5.0 to 1.5.2 (#1288) Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.5.0 to 1.5.2. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Updates dependencies * Bump importlib-metadata from 1.5.2 to 1.6.0 (#1302) Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.5.2 to 1.6.0. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-isort from 2.9.0 to 2.9.1 (#1301) Bumps [flake8-isort](https://github.com/gforcada/flake8-isort) from 2.9.0 to 2.9.1. - [Release notes](https://github.com/gforcada/flake8-isort/releases) - [Changelog](https://github.com/gforcada/flake8-isort/blob/master/CHANGES.rst) - [Commits](gforcada/flake8-isort@2.9.0...2.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Create test.yml * Delete .travis.yml * Update README.md * Update Makefile * Update test.yml * Update setup.cfg * Update test.yml * Update test.yml * Update test.yml * Fixes CI * Fixes CI * Fixes CI * Fixes CI * Update typing-extensions from 3.7.4.1 to 3.7.4.2 (#1305) * Bump typing-extensions from 3.7.4.1 to 3.7.4.2 (#1306) Bumps [typing-extensions](https://github.com/python/typing) from 3.7.4.1 to 3.7.4.2. - [Release notes](https://github.com/python/typing/releases) - [Commits](https://github.com/python/typing/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump python from 3.7-alpine to 3.8.2-alpine (#1300) Bumps python from 3.7-alpine to 3.8.2-alpine. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update sphinx from 2.4.4 to 3.0.0 (#1313) * Closes #1308 * Fixes CI * Fixes CI * Bump coveralls from 1.11.1 to 2.0.0 (#1316) Bumps [coveralls](https://github.com/coveralls-clients/coveralls-python) from 1.11.1 to 2.0.0. - [Release notes](https://github.com/coveralls-clients/coveralls-python/releases) - [Changelog](https://github.com/coveralls-clients/coveralls-python/blob/master/CHANGELOG.md) - [Commits](TheKevJames/coveralls-python@1.11.1...2.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinx from 2.4.4 to 3.0.0 (#1310) Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.4.4 to 3.0.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](sphinx-doc/sphinx@v2.4.4...v3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesmith from 0.0.5 to 0.0.6 (#1322) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.5 to 0.0.6. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinxcontrib-mermaid from 0.3.1 to 0.4.0 (#1326) Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/mgaitan/sphinxcontrib-mermaid/releases) - [Changelog](https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/CHANGELOG.rst) - [Commits](mgaitan/sphinxcontrib-mermaid@0.3.1...0.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinxcontrib-mermaid from 0.3.1 to 0.4.0 in /docs (#1325) Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/mgaitan/sphinxcontrib-mermaid/releases) - [Changelog](https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/CHANGELOG.rst) - [Commits](mgaitan/sphinxcontrib-mermaid@0.3.1...0.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update test.yml * Update README.md * Updates flake8-pytest-style * added __subclasses__ and __mro__ to exclusions of DirectMagicAttributeAccessViolation (#1324) * added __subclasses__ and __mro__ to exclusions of DirectMagicAttributeAccessViolation * updated test_magic_attributes suite * pep8 * pep8 * Trigger tests * Trigger tests * Fixing rtd * docs-fix (issue-#1328) (#1331) * documentation-update * documentation-fix * Bump hypothesis from 5.8.0 to 5.8.3 (#1334) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.0 to 5.8.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.8.0...hypothesis-python-5.8.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update FUNDING.yml * Update tomlkit from 0.5.11 to 0.6.0 (#1336) * Bump hypothesis from 5.8.3 to 5.9.0 (#1341) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.3 to 5.9.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.8.3...hypothesis-python-5.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-isort from 2.9.1 to 3.0.0 (#1338) Bumps [flake8-isort](https://github.com/gforcada/flake8-isort) from 2.9.1 to 3.0.0. - [Release notes](https://github.com/gforcada/flake8-isort/releases) - [Changelog](https://github.com/gforcada/flake8-isort/blob/master/CHANGES.rst) - [Commits](gforcada/flake8-isort@2.9.1...3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump pytest-randomly from 3.2.1 to 3.3.1 (#1339) Bumps [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) from 3.2.1 to 3.3.1. - [Release notes](https://github.com/pytest-dev/pytest-randomly/releases) - [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/master/HISTORY.rst) - [Commits](pytest-dev/pytest-randomly@3.2.1...3.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.9.0 to 5.9.1 (#1342) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.9.0 to 5.9.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.9.0...hypothesis-python-5.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-pytest-style from 1.0.0 to 1.1.0 (#1340) Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/m-burst/flake8-pytest-style/releases) - [Commits](m-burst/flake8-pytest-style@v1.0.0...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump tomlkit from 0.5.11 to 0.6.0 (#1337) Bumps [tomlkit](https://github.com/sdispater/tomlkit) from 0.5.11 to 0.6.0. - [Release notes](https://github.com/sdispater/tomlkit/releases) - [Changelog](https://github.com/sdispater/tomlkit/blob/master/CHANGELOG.md) - [Commits](python-poetry/tomlkit@0.5.11...0.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * remove false positive DirectMagicAttributeAccessViolation on __version__ (#1345) #1314 * Bump hypothesmith from 0.0.6 to 0.0.7 (#1351) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.6 to 0.0.7. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump darglint from 1.2.2 to 1.2.3 (#1349) Bumps [darglint](https://github.com/raddessi/SublimeLinter-contrib-darglint) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/raddessi/SublimeLinter-contrib-darglint/releases) - [Commits](https://github.com/raddessi/SublimeLinter-contrib-darglint/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-pytest-style from 1.1.0 to 1.1.1 (#1350) Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/m-burst/flake8-pytest-style/releases) - [Commits](m-burst/flake8-pytest-style@v1.1.0...v1.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.9.1 to 5.10.1 (#1348) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.9.1 to 5.10.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.9.1...hypothesis-python-5.10.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump autopep8 from 1.5.1 to 1.5.2 (#1355) Bumps [autopep8](https://github.com/hhatto/autopep8) from 1.5.1 to 1.5.2. - [Release notes](https://github.com/hhatto/autopep8/releases) - [Commits](hhatto/autopep8@v1.5.1...v1.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.10.1 to 5.10.4 (#1360) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.10.1 to 5.10.4. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.10.1...hypothesis-python-5.10.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Forbids to use single `return None` (#1365) * Bump hypothesmith from 0.0.7 to 0.1.0 (#1367) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.7 to 0.1.0. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump safety from 1.8.7 to 1.9.0 (#1368) Bumps [safety](https://github.com/pyupio/safety) from 1.8.7 to 1.9.0. - [Release notes](https://github.com/pyupio/safety/releases) - [Changelog](https://github.com/pyupio/safety/blob/master/HISTORY.rst) - [Commits](pyupio/safety@1.8.7...1.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Add `__await__` to the list of priority magic methods (#1372) * Spellcheck (#1374) * fix some spelling * fix more * rename * fix erro message * capitalize GitHub * fix a bit more in the code * brake -> breake * Update link to error codes (#1377) * Update constants.py * forbid single element destructuring * fix style issues * apply requested changes * remove unnecessary examples * rename code fragments * add some new tests * update existing tests * update docs * Merge Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Ammar Najjar <ammarnajjar@users.noreply.github.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: pyup.io bot <github-bot@pyup.io> Co-authored-by: Mattan Yeroushalmi <mattany@gmail.com> Co-authored-by: Priyanshu Sharma <59313375+priyanshu20@users.noreply.github.com> Co-authored-by: Alwx <alwxsin@gmail.com> Co-authored-by: Nick Khitrov <khitrov34@gmail.com> Co-authored-by: Nick Khitrov <nkhitrov@ccsteam.ru> Co-authored-by: Gram <mail@orsinium.dev> Co-authored-by: Sam Bull <aa6bs0@sambull.org>
* Changes wps action * fix checking wrong variable naming should be case insensitive (#1278) * fix: check wrong variable name as case insensitive Issue #1275 * test: add test_wrong_variable_name_case_insensitive Issue #1275 * docs: add bugfix changelog entry in 0.15.0 Issue: #1275 * test: add integration test for uppercase wrong name Issue: #1275 * lint: fix import sorting and empty lines separation * refactor: pass ignored_types as a tuple * test: add class_name fixture template * Bump docutils from 0.13.1 to 0.16 (#1289) Bumps [docutils](http://docutils.sourceforge.net/) from 0.13.1 to 0.16. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump importlib-metadata from 1.5.0 to 1.5.2 (#1288) Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.5.0 to 1.5.2. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Updates dependencies * Bump importlib-metadata from 1.5.2 to 1.6.0 (#1302) Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.5.2 to 1.6.0. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-isort from 2.9.0 to 2.9.1 (#1301) Bumps [flake8-isort](https://github.com/gforcada/flake8-isort) from 2.9.0 to 2.9.1. - [Release notes](https://github.com/gforcada/flake8-isort/releases) - [Changelog](https://github.com/gforcada/flake8-isort/blob/master/CHANGES.rst) - [Commits](gforcada/flake8-isort@2.9.0...2.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Create test.yml * Delete .travis.yml * Update README.md * Update Makefile * Update test.yml * Update setup.cfg * Update test.yml * Update test.yml * Update test.yml * Fixes CI * Fixes CI * Fixes CI * Fixes CI * Update typing-extensions from 3.7.4.1 to 3.7.4.2 (#1305) * Bump typing-extensions from 3.7.4.1 to 3.7.4.2 (#1306) Bumps [typing-extensions](https://github.com/python/typing) from 3.7.4.1 to 3.7.4.2. - [Release notes](https://github.com/python/typing/releases) - [Commits](https://github.com/python/typing/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump python from 3.7-alpine to 3.8.2-alpine (#1300) Bumps python from 3.7-alpine to 3.8.2-alpine. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update sphinx from 2.4.4 to 3.0.0 (#1313) * Closes #1308 * Fixes CI * Fixes CI * Bump coveralls from 1.11.1 to 2.0.0 (#1316) Bumps [coveralls](https://github.com/coveralls-clients/coveralls-python) from 1.11.1 to 2.0.0. - [Release notes](https://github.com/coveralls-clients/coveralls-python/releases) - [Changelog](https://github.com/coveralls-clients/coveralls-python/blob/master/CHANGELOG.md) - [Commits](TheKevJames/coveralls-python@1.11.1...2.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinx from 2.4.4 to 3.0.0 (#1310) Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.4.4 to 3.0.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](sphinx-doc/sphinx@v2.4.4...v3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesmith from 0.0.5 to 0.0.6 (#1322) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.5 to 0.0.6. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinxcontrib-mermaid from 0.3.1 to 0.4.0 (#1326) Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/mgaitan/sphinxcontrib-mermaid/releases) - [Changelog](https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/CHANGELOG.rst) - [Commits](mgaitan/sphinxcontrib-mermaid@0.3.1...0.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinxcontrib-mermaid from 0.3.1 to 0.4.0 in /docs (#1325) Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/mgaitan/sphinxcontrib-mermaid/releases) - [Changelog](https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/CHANGELOG.rst) - [Commits](mgaitan/sphinxcontrib-mermaid@0.3.1...0.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update test.yml * Update README.md * Updates flake8-pytest-style * added __subclasses__ and __mro__ to exclusions of DirectMagicAttributeAccessViolation (#1324) * added __subclasses__ and __mro__ to exclusions of DirectMagicAttributeAccessViolation * updated test_magic_attributes suite * pep8 * pep8 * Trigger tests * Trigger tests * Fixing rtd * docs-fix (issue-#1328) (#1331) * documentation-update * documentation-fix * Bump hypothesis from 5.8.0 to 5.8.3 (#1334) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.0 to 5.8.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.8.0...hypothesis-python-5.8.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update FUNDING.yml * Update tomlkit from 0.5.11 to 0.6.0 (#1336) * Bump hypothesis from 5.8.3 to 5.9.0 (#1341) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.3 to 5.9.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.8.3...hypothesis-python-5.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-isort from 2.9.1 to 3.0.0 (#1338) Bumps [flake8-isort](https://github.com/gforcada/flake8-isort) from 2.9.1 to 3.0.0. - [Release notes](https://github.com/gforcada/flake8-isort/releases) - [Changelog](https://github.com/gforcada/flake8-isort/blob/master/CHANGES.rst) - [Commits](gforcada/flake8-isort@2.9.1...3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump pytest-randomly from 3.2.1 to 3.3.1 (#1339) Bumps [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) from 3.2.1 to 3.3.1. - [Release notes](https://github.com/pytest-dev/pytest-randomly/releases) - [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/master/HISTORY.rst) - [Commits](pytest-dev/pytest-randomly@3.2.1...3.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.9.0 to 5.9.1 (#1342) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.9.0 to 5.9.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.9.0...hypothesis-python-5.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-pytest-style from 1.0.0 to 1.1.0 (#1340) Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/m-burst/flake8-pytest-style/releases) - [Commits](m-burst/flake8-pytest-style@v1.0.0...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump tomlkit from 0.5.11 to 0.6.0 (#1337) Bumps [tomlkit](https://github.com/sdispater/tomlkit) from 0.5.11 to 0.6.0. - [Release notes](https://github.com/sdispater/tomlkit/releases) - [Changelog](https://github.com/sdispater/tomlkit/blob/master/CHANGELOG.md) - [Commits](python-poetry/tomlkit@0.5.11...0.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * remove false positive DirectMagicAttributeAccessViolation on __version__ (#1345) #1314 * Bump hypothesmith from 0.0.6 to 0.0.7 (#1351) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.6 to 0.0.7. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump darglint from 1.2.2 to 1.2.3 (#1349) Bumps [darglint](https://github.com/raddessi/SublimeLinter-contrib-darglint) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/raddessi/SublimeLinter-contrib-darglint/releases) - [Commits](https://github.com/raddessi/SublimeLinter-contrib-darglint/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-pytest-style from 1.1.0 to 1.1.1 (#1350) Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/m-burst/flake8-pytest-style/releases) - [Commits](m-burst/flake8-pytest-style@v1.1.0...v1.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.9.1 to 5.10.1 (#1348) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.9.1 to 5.10.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.9.1...hypothesis-python-5.10.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump autopep8 from 1.5.1 to 1.5.2 (#1355) Bumps [autopep8](https://github.com/hhatto/autopep8) from 1.5.1 to 1.5.2. - [Release notes](https://github.com/hhatto/autopep8/releases) - [Commits](hhatto/autopep8@v1.5.1...v1.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.10.1 to 5.10.4 (#1360) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.10.1 to 5.10.4. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.10.1...hypothesis-python-5.10.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Forbids to use single `return None` (#1365) * Bump hypothesmith from 0.0.7 to 0.1.0 (#1367) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.7 to 0.1.0. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump safety from 1.8.7 to 1.9.0 (#1368) Bumps [safety](https://github.com/pyupio/safety) from 1.8.7 to 1.9.0. - [Release notes](https://github.com/pyupio/safety/releases) - [Changelog](https://github.com/pyupio/safety/blob/master/HISTORY.rst) - [Commits](pyupio/safety@1.8.7...1.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Add `__await__` to the list of priority magic methods (#1372) * Spellcheck (#1374) * fix some spelling * fix more * rename * fix erro message * capitalize GitHub * fix a bit more in the code * brake -> breake * [1248] Implement ForbiddenInlineIgnoreViolation * Change naming and drop variables * Move noqa comment checks to separate visitor * Merge * Merge Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Ammar Najjar <ammarnajjar@users.noreply.github.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: pyup.io bot <github-bot@pyup.io> Co-authored-by: Mattan Yeroushalmi <mattany@gmail.com> Co-authored-by: Priyanshu Sharma <59313375+priyanshu20@users.noreply.github.com> Co-authored-by: Alwx <alwxsin@gmail.com> Co-authored-by: Nick Khitrov <khitrov34@gmail.com> Co-authored-by: Nick Khitrov <nkhitrov@ccsteam.ru> Co-authored-by: Gram <mail@orsinium.dev>
* Changes wps action * fix checking wrong variable naming should be case insensitive (#1278) * fix: check wrong variable name as case insensitive Issue #1275 * test: add test_wrong_variable_name_case_insensitive Issue #1275 * docs: add bugfix changelog entry in 0.15.0 Issue: #1275 * test: add integration test for uppercase wrong name Issue: #1275 * lint: fix import sorting and empty lines separation * refactor: pass ignored_types as a tuple * test: add class_name fixture template * Bump docutils from 0.13.1 to 0.16 (#1289) Bumps [docutils](http://docutils.sourceforge.net/) from 0.13.1 to 0.16. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump importlib-metadata from 1.5.0 to 1.5.2 (#1288) Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.5.0 to 1.5.2. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Updates dependencies * Bump importlib-metadata from 1.5.2 to 1.6.0 (#1302) Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.5.2 to 1.6.0. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-isort from 2.9.0 to 2.9.1 (#1301) Bumps [flake8-isort](https://github.com/gforcada/flake8-isort) from 2.9.0 to 2.9.1. - [Release notes](https://github.com/gforcada/flake8-isort/releases) - [Changelog](https://github.com/gforcada/flake8-isort/blob/master/CHANGES.rst) - [Commits](gforcada/flake8-isort@2.9.0...2.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Create test.yml * Delete .travis.yml * Update README.md * Update Makefile * Update test.yml * Update setup.cfg * Update test.yml * Update test.yml * Update test.yml * Fixes CI * Fixes CI * Fixes CI * Fixes CI * Update typing-extensions from 3.7.4.1 to 3.7.4.2 (#1305) * Bump typing-extensions from 3.7.4.1 to 3.7.4.2 (#1306) Bumps [typing-extensions](https://github.com/python/typing) from 3.7.4.1 to 3.7.4.2. - [Release notes](https://github.com/python/typing/releases) - [Commits](https://github.com/python/typing/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump python from 3.7-alpine to 3.8.2-alpine (#1300) Bumps python from 3.7-alpine to 3.8.2-alpine. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update sphinx from 2.4.4 to 3.0.0 (#1313) * Closes #1308 * Fixes CI * Fixes CI * Bump coveralls from 1.11.1 to 2.0.0 (#1316) Bumps [coveralls](https://github.com/coveralls-clients/coveralls-python) from 1.11.1 to 2.0.0. - [Release notes](https://github.com/coveralls-clients/coveralls-python/releases) - [Changelog](https://github.com/coveralls-clients/coveralls-python/blob/master/CHANGELOG.md) - [Commits](TheKevJames/coveralls-python@1.11.1...2.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinx from 2.4.4 to 3.0.0 (#1310) Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.4.4 to 3.0.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](sphinx-doc/sphinx@v2.4.4...v3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesmith from 0.0.5 to 0.0.6 (#1322) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.5 to 0.0.6. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinxcontrib-mermaid from 0.3.1 to 0.4.0 (#1326) Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/mgaitan/sphinxcontrib-mermaid/releases) - [Changelog](https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/CHANGELOG.rst) - [Commits](mgaitan/sphinxcontrib-mermaid@0.3.1...0.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump sphinxcontrib-mermaid from 0.3.1 to 0.4.0 in /docs (#1325) Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/mgaitan/sphinxcontrib-mermaid/releases) - [Changelog](https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/CHANGELOG.rst) - [Commits](mgaitan/sphinxcontrib-mermaid@0.3.1...0.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update test.yml * Update README.md * Updates flake8-pytest-style * added __subclasses__ and __mro__ to exclusions of DirectMagicAttributeAccessViolation (#1324) * added __subclasses__ and __mro__ to exclusions of DirectMagicAttributeAccessViolation * updated test_magic_attributes suite * pep8 * pep8 * Trigger tests * Trigger tests * Fixing rtd * docs-fix (issue-#1328) (#1331) * documentation-update * documentation-fix * Bump hypothesis from 5.8.0 to 5.8.3 (#1334) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.0 to 5.8.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.8.0...hypothesis-python-5.8.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Update FUNDING.yml * Update tomlkit from 0.5.11 to 0.6.0 (#1336) * Bump hypothesis from 5.8.3 to 5.9.0 (#1341) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.3 to 5.9.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.8.3...hypothesis-python-5.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-isort from 2.9.1 to 3.0.0 (#1338) Bumps [flake8-isort](https://github.com/gforcada/flake8-isort) from 2.9.1 to 3.0.0. - [Release notes](https://github.com/gforcada/flake8-isort/releases) - [Changelog](https://github.com/gforcada/flake8-isort/blob/master/CHANGES.rst) - [Commits](gforcada/flake8-isort@2.9.1...3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump pytest-randomly from 3.2.1 to 3.3.1 (#1339) Bumps [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) from 3.2.1 to 3.3.1. - [Release notes](https://github.com/pytest-dev/pytest-randomly/releases) - [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/master/HISTORY.rst) - [Commits](pytest-dev/pytest-randomly@3.2.1...3.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.9.0 to 5.9.1 (#1342) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.9.0 to 5.9.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.9.0...hypothesis-python-5.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-pytest-style from 1.0.0 to 1.1.0 (#1340) Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/m-burst/flake8-pytest-style/releases) - [Commits](m-burst/flake8-pytest-style@v1.0.0...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump tomlkit from 0.5.11 to 0.6.0 (#1337) Bumps [tomlkit](https://github.com/sdispater/tomlkit) from 0.5.11 to 0.6.0. - [Release notes](https://github.com/sdispater/tomlkit/releases) - [Changelog](https://github.com/sdispater/tomlkit/blob/master/CHANGELOG.md) - [Commits](python-poetry/tomlkit@0.5.11...0.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * remove false positive DirectMagicAttributeAccessViolation on __version__ (#1345) #1314 * Bump hypothesmith from 0.0.6 to 0.0.7 (#1351) Bumps [hypothesmith](https://github.com/Zac-HD/hypothesmith) from 0.0.6 to 0.0.7. - [Release notes](https://github.com/Zac-HD/hypothesmith/releases) - [Commits](https://github.com/Zac-HD/hypothesmith/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump darglint from 1.2.2 to 1.2.3 (#1349) Bumps [darglint](https://github.com/raddessi/SublimeLinter-contrib-darglint) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/raddessi/SublimeLinter-contrib-darglint/releases) - [Commits](https://github.com/raddessi/SublimeLinter-contrib-darglint/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump flake8-pytest-style from 1.1.0 to 1.1.1 (#1350) Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/m-burst/flake8-pytest-style/releases) - [Commits](m-burst/flake8-pytest-style@v1.1.0...v1.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.9.1 to 5.10.1 (#1348) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.9.1 to 5.10.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.9.1...hypothesis-python-5.10.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump autopep8 from 1.5.1 to 1.5.2 (#1355) Bumps [autopep8](https://github.com/hhatto/autopep8) from 1.5.1 to 1.5.2. - [Release notes](https://github.com/hhatto/autopep8/releases) - [Commits](hhatto/autopep8@v1.5.1...v1.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Bump hypothesis from 5.10.1 to 5.10.4 (#1360) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.10.1 to 5.10.4. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-5.10.1...hypothesis-python-5.10.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Base implementation of WrongMultilineStringUseViolation * Modify old test to pass new violation * Make example strings prettier * Add check for functions on strings * Fixed style. * Fix docs. * Add test for coverage * Merge * Merge * Merge Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Ammar Najjar <ammarnajjar@users.noreply.github.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: pyup.io bot <github-bot@pyup.io> Co-authored-by: Mattan Yeroushalmi <mattany@gmail.com> Co-authored-by: Priyanshu Sharma <59313375+priyanshu20@users.noreply.github.com> Co-authored-by: Alwx <alwxsin@gmail.com>
Bug report
What's wrong
This piece of code raises
WPS609 Found direct magic attribute usage: __subclasses__
How is that should be
__subclasess__
method should be excluded from the check because it's a class method and can be used outside of class.Maybe there are other methods that should be excluded?
The text was updated successfully, but these errors were encountered: