Skip to main content
Home-page: http://github.com/korijn/flake8-self
Author: Korijn van Golen
Author-email: korijn@gmail.com
License: Freely Distributable
Description: [![PyPI](https://badge.fury.io/py/flake8-self.svg)](https://badge.fury.io/py/flake8-self) [![Anaconda](https://travis-ci.org/korijn/flake8-self.svg?branch=master)](https://travis-ci.org/korijn/flake8-self/)

# flake8-self

Private member access linting plugin for flake8.

## Example

```
> pipenv run flake8 example.py
example.py:10:1: SF01 Private member access
example.py:11:1: SF01 Private member access
```

example.py:
```python
class Foo(object):
def __init__(self):
self.public_thing = "bar"
self._private_thing = "quux"
self.__really_private_thing = "quuz"


foo = Foo()
print(foo.public_thing)
print(foo._private_thing) # SF01 Private member access
print(foo.__really_private_thing) # SF01 Private member access
print(foo.__dict__)
```

Keywords: private access self linting flake8
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: Freely Distributable
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Description-Content-Type: text/markdown

Metadata

Release files for flake8-self 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for flake8-self 0.2.2
File Interpreter ABI Platform
flake8_self-0.2.2-py3-none-any.whl Python 3 none any Details

Release files / flake8_self-0.2.2-py3-none-any.whl

Download URL flake8_self-0.2.2-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9268faf434c7a132beec28574d9e9258f2040a886530aff31e5c8a2436904df2
BLAKE2b-256 checksum
How to use checksums
82169e4e94ddcff5c430b14e31ea975c331445f1b43373bd1b39e9f8e4e046e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page