Skip to content

Commit

Permalink
feat: LGTM integration
Browse files Browse the repository at this point in the history
  • Loading branch information
hodossy committed Dec 23, 2020
1 parent 3105bfd commit 042a4da
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
![Weekly](https://github.com/hodossy/django-nlf/workflows/Weekly/badge.svg?branch=main)
[![Documentation](https://img.shields.io/readthedocs/django-nlf)](https://django-nlf.readthedocs.io/en/latest/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/hodossy/django-nlf.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/hodossy/django-nlf/alerts/)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/hodossy/django-nlf.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/hodossy/django-nlf/context:python)

# django-nlf

Expand Down
7 changes: 7 additions & 0 deletions django_nlf/functions/dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
from .registry import nlf_function


__all__ = [
"start_of_week",
"start_of_month",
"start_of_year",
]


try:
#: Django uses 0 for Sunday and 1 for Monday. `FIRST_DAY_OF_WEEK` holds
#: a :mod:`calendar <python:calendar>` compatible value,
Expand Down
1 change: 0 additions & 1 deletion docs/customizations/field_name_conversion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Built in converters

.. autofunction:: django_nlf.utils.camel_to_snake_case


Custom converter
****************

Expand Down

0 comments on commit 042a4da

Please sign in to comment.