Skip to main content
Release file added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

flake8-django

pypi CICodecov Downloads

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
DJ03 Using locals() in render function is not recommended, use explicit arguments
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__
DJ09 Model must define class Meta
DJ10 Class Meta from Model has to define verbose_name
DJ11 Class Meta from Model has to define verbose_name_plural
DJ12 Order of model inner classes and standard methods does not follow Django style guide

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 1.0.0

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

File added late

1 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 files before installing.

Source distribution (sdist)

Source distribution for flake8-django 1.0.0
File Size Uploaded Provenance Actions
flake8-django-1.0.0.tar.gz 6.6 kB Without provenance Details for flake8-django-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flake8-django 1.0.0
File Interpreter ABI Platform Actions
flake8_django-1.0.0-py3.8.egg Legacy Egg format - - Details for flake8_django-1.0.0-py3.8.egg

Total release size: 31.0 kB

Release files / flake8-django-1.0.0.tar.gz

Download URL flake8-django-1.0.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2c9e4b8bdcad3084d3a335a0e305cbf66cd9a2af937d66c50c859c1f966036b2
BLAKE2b-256 checksum
How to use checksums
e86da1bb65b4eb9be639e7b91747bb8b9a141c6eab59c1e5cde77e6bf052b515
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-1.0.0-py3.8.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-1.0.0-py3.8.egg
Size 24.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
ba9e64a9ac9999e1ad1a71c2dedbed24639c7db9656915bcc33610c410094f60
BLAKE2b-256 checksum
How to use checksums
908a12accad942fe1849e4bd5d8585e9bccc69b323254a4e260d2e01613c775e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for flake8-django 1.0.0

Upload timing

Release file added late

1 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.


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.

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