-
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d37e45e
commit 50b53fe
Showing
3 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
from kpi import deployment_backends | ||
from django.utils import timezone | ||
import re | ||
from django.utils.timezone import now | ||
import rest_framework | ||
|
||
|
||
class MyClass: | ||
def __init__(self): | ||
pass | ||
|
||
|
||
|
||
def __str__(self): | ||
pass | ||
|
||
|
||
def test_conf(): | ||
if timezone.now().date() == timezone.now().date(): | ||
re.compile('foo', re.IGNORECASE) | ||
foo = "allo" | ||
my_str = f"ceci est un message avec un ' {foo} parce que sinon ça chie!" | ||
print(my_str) | ||
|
||
|
||
def mon_autre(): | ||
my_class = MyClass() | ||
print(str(my_class)) # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters