Update pyproject.toml

This commit is contained in:
Kristofers Solo 2023-09-09 23:43:26 +03:00
parent 97b035a09d
commit 649348e5c2
3 changed files with 28 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# Kristofers Solo website
Portfolio build using [django](https://www.djangoproject.com/).
![Lint](https://github.com/kristoferssolo/kristofersxyz/actions/workflows/lint.yml/badge.svg)
![](https://github.com/kristoferssolo/kristofersxyz/actions/workflows/ruff.yml/badge.svg) ![](https://github.com/kristoferssolo/kristofersxyz/actions/workflows/test.yml/badge.svg)
## Development server
Install packages from `requirements.txt`.

View File

@ -1,3 +1,19 @@
[project]
name = "kristofersxyz"
version = "0.1.0"
description = "Portfolio build using django."
authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }]
readme = "README.md"
requires-python = ">=3.10"
license = { text = "GPLv3" }
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3:10",
"Programming Language :: Python :: 3:11",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true

View File

@ -2,29 +2,29 @@
<!DOCTYPE html>
<html lang="en" data-color-mode="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="{% static 'main/img/icons/logo.svg' %}">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="{% static 'main/img/icons/logo.svg' %}" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet">
rel="stylesheet" />
<title>
{% block title %}{% endblock %}
</title>
<link rel="stylesheet"
type="text/css"
href="{% static 'main/css/reset.css' %}">
href="{% static 'main/css/reset.css' %}" />
<link rel="stylesheet"
type="text/css"
href="{% static 'main/css/colors.css' %}">
href="{% static 'main/css/colors.css' %}" />
<link rel="stylesheet"
type="text/css"
href="{% static 'main/css/navigation_button.css' %}">
href="{% static 'main/css/navigation_button.css' %}" />
<link rel="stylesheet"
type="text/css"
href="{% static 'main/css/button.css' %}">
href="{% static 'main/css/button.css' %}" />
<link rel="stylesheet"
type="text/css"
href="{% static 'main/css/layout.css' %}">
href="{% static 'main/css/layout.css' %}" />
<script src="{% static 'main/js/navigation.js' %}" defer></script>
<script src="{% static 'main/js/lightmode.js' %}" defer></script>
{% block meta %}{% endblock %}
@ -33,7 +33,7 @@
<header class="primary-header flex">
<div>
<a href="{% url 'home' %}">
<img src="{% static 'main/img/icons/logo.svg' %}" alt="logo" class="logo">
<img src="{% static 'main/img/icons/logo.svg' %}" alt="logo" class="logo" />
</a>
</div>
<div class="mobile-nav-toggle">