2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.
flake8-django
A flake8 plugin for Django projects.
Installation
Install from pip with:
$ pip install flake8-django
Testing
flake8-django uses pytest for tests. To run them use:
$ pytest
Run coverage report using:
$ pytest --cov=.
List of warnings
| Warning | Description |
|---|---|
DJ01 |
Using null=True is not recommended for some of the Django ORM fields. E.g. CharField, EmailField, ImageField, FileField, UUIDField, SlugField, TextField |
DJ02 |
Using blank=True is not recommended on BooleanField |
DJ03 |
Using locals() in render function is not recommended, use explicit arguments |
DJ04 |
Using dashes in url names is discouraged, use underscores instead |
DJ05 |
URLs include() should set a namespace |
DJ06 |
ModelForm should not set exclude, instead it should use fields, which is an explicit list of all the fields that should be included in the form |
DJ07 |
ModelForm.Meta should not set fields to __all__ |
DJ08 |
Models that inherits from django db models should set __str__ |
Licence
GPL
Thanks
@stummjr for teaching me AST, and what I could do with it. His blog is cool.
Metadata
Release files for flake8-django 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Files added late
2 files were uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flake8-django-0.0.4.tar.gz | 5.0 kB | Without provenance | Details for flake8-django-0.0.4.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flake8_django-0.0.4-py3.7.egg | Legacy Egg format | - | - | Details for flake8_django-0.0.4-py3.7.egg |
| flake8_django-0.0.4-py3.5.egg | Legacy Egg format | - | - | Details for flake8_django-0.0.4-py3.5.egg |
Total release size: 51.1 kB
Release files / flake8-django-0.0.4.tar.gz
| Download URL | flake8-django-0.0.4.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7329ec2e2b8b194e8109639c534359014c79df4d50b14f4b85b8395edc5d6760
|
|
BLAKE2b-256 checksum How to use checksums |
188263945ffd14b8c7ae5cacb08b5b2af7be9969bc994fff8edd6e9b03659b6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
|
Release files / flake8_django-0.0.4-py3.7.egg
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | flake8_django-0.0.4-py3.7.egg |
|---|---|
| Size | 21.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
29721a4976f784921b140752234447af1192c4e4f989d0db4e2d9f7f7915fa86
|
|
BLAKE2b-256 checksum How to use checksums |
a0247ee1b77d17eb7920ac55dc437ac9ca20fa472e4fea90cde1c2df78a8db0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.5.6
|
Release files / flake8_django-0.0.4-py3.5.egg
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | flake8_django-0.0.4-py3.5.egg |
|---|---|
| Size | 24.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
ca66462724acbcf241d29edec201dac40c05cc27ae118b5abb8d74066681402f
|
|
BLAKE2b-256 checksum How to use checksums |
c75fabbb66274decb0f6f3bd883c49b47a12ffce31b152fd697d04894577fe78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.5.6
|
Security for flake8-django 0.0.4
Upload timing
Release files added late
2 files were uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.