fix for autopep8
This commit is contained in:
parent
ecdd5a5cc5
commit
51f3fb6c44
@ -1,4 +1,3 @@
|
|||||||
# flake8: noqa
|
|
||||||
# Generated by Django 5.0.1 on 2024-01-12 10:04
|
# Generated by Django 5.0.1 on 2024-01-12 10:04
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
@ -15,7 +14,8 @@ class Migration(migrations.Migration):
|
|||||||
migrations.CreateModel(
|
migrations.CreateModel(
|
||||||
name='Signup',
|
name='Signup',
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
('id', models.BigAutoField(auto_created=True,
|
||||||
|
primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
('email', models.EmailField(max_length=254)),
|
('email', models.EmailField(max_length=254)),
|
||||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||||
('anonymized_ip', models.GenericIPAddressField()),
|
('anonymized_ip', models.GenericIPAddressField()),
|
||||||
@ -25,6 +25,7 @@ class Migration(migrations.Migration):
|
|||||||
),
|
),
|
||||||
migrations.AddConstraint(
|
migrations.AddConstraint(
|
||||||
model_name='signup',
|
model_name='signup',
|
||||||
constraint=models.UniqueConstraint(fields=('email',), name='unique_email'),
|
constraint=models.UniqueConstraint(
|
||||||
|
fields=('email',), name='unique_email'),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
# Simple Style Hugo Theme
|
|
||||||
|
|
||||||
My simple style hugo theme, based on [this webpage template](https://yanlinlin82.github.io/webpage-templates/simple-style/index.html)
|
|
||||||
|
|
||||||
Online demo of this theme: [simple-style-demo](https://yanlinlin82.github.io/simple-style-demo/)
|
|
||||||
|
|
||||||
## Supported Parameters
|
|
||||||
|
|
||||||
In `config.toml`
|
|
||||||
|
|
||||||
```
|
|
||||||
[params]
|
|
||||||
subtitle = "Sub title of the site"
|
|
||||||
favicon = "/<path-to-site-icon>/logo.ico"
|
|
||||||
githubUrl = "https://github.com/<your-name>/<site-proj-name>/"
|
|
||||||
referrer = "always"
|
|
||||||
author = "..."
|
|
||||||
description = "..."
|
|
||||||
keywords = "..."
|
|
||||||
googleSiteVerification = "<google-site-verification-code>"
|
|
||||||
search = "..." # baidu, google, bing, duckduckgo
|
|
||||||
dateFormat = "Mon Jan 2 15:04:05 MST 2006" # see: https://gohugo.io/functions/format/#gos-layout-string
|
|
||||||
externalLinkIcon = true
|
|
||||||
externalLinkNewWindow = true
|
|
||||||
```
|
|
@ -68,6 +68,7 @@
|
|||||||
entry = "${pkgs.python3Packages.autopep8}/bin/autopep8 -i";
|
entry = "${pkgs.python3Packages.autopep8}/bin/autopep8 -i";
|
||||||
files = "\\.py$";
|
files = "\\.py$";
|
||||||
};
|
};
|
||||||
|
markdownlint.enable = true;
|
||||||
unit-tests = {
|
unit-tests = {
|
||||||
enable = false;
|
enable = false;
|
||||||
# ?? this is a directory, how do I run the script?
|
# ?? this is a directory, how do I run the script?
|
||||||
|
Loading…
Reference in New Issue
Block a user