Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AKPlanning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIF
AKPlanning
Commits
d2ec1175
Commit
d2ec1175
authored
1 year ago
by
Benjamin Hättasch
Browse files
Options
Downloads
Patches
Plain Diff
Further improve linting settings
parent
b0a5dcc7
No related branches found
Branches containing commit
No related tags found
1 merge request
!179
Code quality improvements
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pylintrc
+24
-3
24 additions, 3 deletions
pylintrc
with
24 additions
and
3 deletions
pylintrc
+
24
−
3
View file @
d2ec1175
[MAIN]
[MAIN]
ignore=tests.py, urls.py, migrations
ignore=migrations,static
load-plugins=
load-plugins=
pylint_django
pylint_django
,
pylint_django.checkers.migrations
pylint_django.checkers.migrations
django-settings-module=AKPlanning.settings
[FORMAT]
[FORMAT]
# Maximum number of characters on a single line.
# Maximum number of characters on a single line.
max-line-length=120
max-line-length=120
indent-string=' '
[SIMILARITIES]
[SIMILARITIES]
...
@@ -38,3 +42,20 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(AK[A-Z][a-z0-9_]+))$
...
@@ -38,3 +42,20 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(AK[A-Z][a-z0-9_]+))$
# Good variable names which should always be accepted, separated by a comma
# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,a,e,ak,tz,_
good-names=i,j,k,a,e,ak,tz,_
[TYPECHECK]
# Tells whether missing members accessed in mixin class should be ignored. A
# mixin class is detected if its name ends with "mixin" (case insensitive).
ignore-mixin-members=yes
# List of classes names for which member attributes should not be checked
# (useful for classes with attributes dynamically set).
ignored-classes=SQLObject,WSGIRequest
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E0201 when accessed.
generated-members=objects,DoesNotExist,id,pk,_meta,base_fields,context
# List of method names used to declare (i.e. assign) instance attributes
defining-attr-methods=__init__,__new__,setUp
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment