Initial commit
This commit is contained in:
commit
e256e5e1ad
20 changed files with 3018 additions and 0 deletions
514
.gitignore
vendored
Normal file
514
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,514 @@
|
|||
# Python-generated files
|
||||
__pycache__/
|
||||
*.py[oc]
|
||||
build/
|
||||
dist/
|
||||
wheels/
|
||||
*.egg-info
|
||||
|
||||
# Virtual environments
|
||||
.venv
|
||||
|
||||
# ---> CUDA
|
||||
*.i
|
||||
*.ii
|
||||
*.gpu
|
||||
*.ptx
|
||||
*.cubin
|
||||
*.fatbin
|
||||
|
||||
# ---> Eclipse
|
||||
.metadata
|
||||
bin/
|
||||
tmp/
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
*~.nib
|
||||
local.properties
|
||||
.settings/
|
||||
.loadpath
|
||||
.recommenders
|
||||
|
||||
# External tool builders
|
||||
.externalToolBuilders/
|
||||
|
||||
# Locally stored "Eclipse launch configurations"
|
||||
*.launch
|
||||
|
||||
# PyDev specific (Python IDE for Eclipse)
|
||||
*.pydevproject
|
||||
|
||||
# CDT-specific (C/C++ Development Tooling)
|
||||
.cproject
|
||||
|
||||
# CDT- autotools
|
||||
.autotools
|
||||
|
||||
# Java annotation processor (APT)
|
||||
.factorypath
|
||||
|
||||
# PDT-specific (PHP Development Tools)
|
||||
.buildpath
|
||||
|
||||
# sbteclipse plugin
|
||||
.target
|
||||
|
||||
# Tern plugin
|
||||
.tern-project
|
||||
|
||||
# TeXlipse plugin
|
||||
.texlipse
|
||||
|
||||
# STS (Spring Tool Suite)
|
||||
.springBeans
|
||||
|
||||
# Code Recommenders
|
||||
.recommenders/
|
||||
|
||||
# Annotation Processing
|
||||
.apt_generated/
|
||||
.apt_generated_test/
|
||||
|
||||
# Scala IDE specific (Scala & Java development for Eclipse)
|
||||
.cache-main
|
||||
.scala_dependencies
|
||||
.worksheet
|
||||
|
||||
# Uncomment this line if you wish to ignore the project description file.
|
||||
# Typically, this file would be tracked if it contains build/dependency configurations:
|
||||
#.project
|
||||
|
||||
# ---> Emacs
|
||||
# -*- mode: gitignore; -*-
|
||||
*~
|
||||
\#*\#
|
||||
/.emacs.desktop
|
||||
/.emacs.desktop.lock
|
||||
*.elc
|
||||
auto-save-list
|
||||
tramp
|
||||
.\#*
|
||||
|
||||
# Org-mode
|
||||
.org-id-locations
|
||||
*_archive
|
||||
|
||||
# flymake-mode
|
||||
*_flymake.*
|
||||
|
||||
# eshell files
|
||||
/eshell/history
|
||||
/eshell/lastdir
|
||||
|
||||
# elpa packages
|
||||
/elpa/
|
||||
|
||||
# reftex files
|
||||
*.rel
|
||||
|
||||
# AUCTeX auto folder
|
||||
/auto/
|
||||
|
||||
# cask packages
|
||||
.cask/
|
||||
dist/
|
||||
|
||||
# Flycheck
|
||||
flycheck_*.el
|
||||
|
||||
# server auth directory
|
||||
/server/
|
||||
|
||||
# projectiles files
|
||||
.projectile
|
||||
|
||||
# directory configuration
|
||||
.dir-locals.el
|
||||
|
||||
# network security
|
||||
/network-security.data
|
||||
|
||||
|
||||
# ---> JetBrains
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
|
||||
# User-specific stuff
|
||||
.idea/**/workspace.xml
|
||||
.idea/**/tasks.xml
|
||||
.idea/**/usage.statistics.xml
|
||||
.idea/**/dictionaries
|
||||
.idea/**/shelf
|
||||
|
||||
# AWS User-specific
|
||||
.idea/**/aws.xml
|
||||
|
||||
# Generated files
|
||||
.idea/**/contentModel.xml
|
||||
|
||||
# Sensitive or high-churn files
|
||||
.idea/**/dataSources/
|
||||
.idea/**/dataSources.ids
|
||||
.idea/**/dataSources.local.xml
|
||||
.idea/**/sqlDataSources.xml
|
||||
.idea/**/dynamic.xml
|
||||
.idea/**/uiDesigner.xml
|
||||
.idea/**/dbnavigator.xml
|
||||
|
||||
# Gradle
|
||||
.idea/**/gradle.xml
|
||||
.idea/**/libraries
|
||||
|
||||
# Gradle and Maven with auto-import
|
||||
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||
# since they will be recreated, and may cause churn. Uncomment if using
|
||||
# auto-import.
|
||||
# .idea/artifacts
|
||||
# .idea/compiler.xml
|
||||
# .idea/jarRepositories.xml
|
||||
# .idea/modules.xml
|
||||
# .idea/*.iml
|
||||
# .idea/modules
|
||||
# *.iml
|
||||
# *.ipr
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
# Mongo Explorer plugin
|
||||
.idea/**/mongoSettings.xml
|
||||
|
||||
# File-based project format
|
||||
*.iws
|
||||
|
||||
# IntelliJ
|
||||
out/
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Cursive Clojure plugin
|
||||
.idea/replstate.xml
|
||||
|
||||
# SonarLint plugin
|
||||
.idea/sonarlint/
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
|
||||
# Editor-based Rest Client
|
||||
.idea/httpRequests
|
||||
|
||||
# Android studio 3.1+ serialized cache file
|
||||
.idea/caches/build_file_checksums.ser
|
||||
|
||||
# ---> JupyterNotebooks
|
||||
# gitignore template for Jupyter Notebooks
|
||||
# website: http://jupyter.org/
|
||||
|
||||
.ipynb_checkpoints
|
||||
*/.ipynb_checkpoints/*
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# Remove previous ipynb_checkpoints
|
||||
# git rm -r .ipynb_checkpoints/
|
||||
|
||||
# ---> Linux
|
||||
*~
|
||||
|
||||
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||
.fuse_hidden*
|
||||
|
||||
# KDE directory preferences
|
||||
.directory
|
||||
|
||||
# Linux trash folder which might appear on any partition or disk
|
||||
.Trash-*
|
||||
|
||||
# .nfs files are created when an open file is removed but is still being accessed
|
||||
.nfs*
|
||||
|
||||
# ---> Python
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py,cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
cover/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
.pybuilder/
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
# For a library or package, you might want to ignore these files since the code is
|
||||
# intended to run in multiple environments; otherwise, check them in:
|
||||
# .python-version
|
||||
|
||||
# pipenv
|
||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||
# install all needed dependencies.
|
||||
#Pipfile.lock
|
||||
|
||||
# poetry
|
||||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
||||
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
||||
# commonly ignored for libraries.
|
||||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
||||
#poetry.lock
|
||||
|
||||
# pdm
|
||||
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
||||
#pdm.lock
|
||||
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
||||
# in version control.
|
||||
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
||||
.pdm.toml
|
||||
.pdm-python
|
||||
.pdm-build/
|
||||
|
||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# pytype static type analyzer
|
||||
.pytype/
|
||||
|
||||
# Cython debug symbols
|
||||
cython_debug/
|
||||
|
||||
# PyCharm
|
||||
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
||||
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||
#.idea/
|
||||
|
||||
# ---> SublimeText
|
||||
# Cache files for Sublime Text
|
||||
*.tmlanguage.cache
|
||||
*.tmPreferences.cache
|
||||
*.stTheme.cache
|
||||
|
||||
# Workspace files are user-specific
|
||||
*.sublime-workspace
|
||||
|
||||
# Project files should be checked into the repository, unless a significant
|
||||
# proportion of contributors will probably not be using Sublime Text
|
||||
# *.sublime-project
|
||||
|
||||
# SFTP configuration file
|
||||
sftp-config.json
|
||||
sftp-config-alt*.json
|
||||
|
||||
# Package control specific files
|
||||
Package Control.last-run
|
||||
Package Control.ca-list
|
||||
Package Control.ca-bundle
|
||||
Package Control.system-ca-bundle
|
||||
Package Control.cache/
|
||||
Package Control.ca-certs/
|
||||
Package Control.merged-ca-bundle
|
||||
Package Control.user-ca-bundle
|
||||
oscrypto-ca-bundle.crt
|
||||
bh_unicode_properties.cache
|
||||
|
||||
# Sublime-github package stores a github token in this file
|
||||
# https://packagecontrol.io/packages/sublime-github
|
||||
GitHub.sublime-settings
|
||||
|
||||
# ---> Vim
|
||||
# Swap
|
||||
[._]*.s[a-v][a-z]
|
||||
!*.svg # comment out if you don't need vector files
|
||||
[._]*.sw[a-p]
|
||||
[._]s[a-rt-v][a-z]
|
||||
[._]ss[a-gi-z]
|
||||
[._]sw[a-p]
|
||||
|
||||
# Session
|
||||
Session.vim
|
||||
Sessionx.vim
|
||||
|
||||
# Temporary
|
||||
.netrwhist
|
||||
*~
|
||||
# Auto-generated tag files
|
||||
tags
|
||||
# Persistent undo
|
||||
[._]*.un~
|
||||
|
||||
# ---> VirtualEnv
|
||||
# Virtualenv
|
||||
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
||||
.Python
|
||||
[Bb]in
|
||||
[Ii]nclude
|
||||
[Ll]ib
|
||||
[Ll]ib64
|
||||
[Ll]ocal
|
||||
[Ss]cripts
|
||||
pyvenv.cfg
|
||||
.venv
|
||||
pip-selfcheck.json
|
||||
|
||||
# ---> VisualStudioCode
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
!.vscode/*.code-snippets
|
||||
|
||||
# Local History for Visual Studio Code
|
||||
.history/
|
||||
|
||||
# Built Visual Studio Code Extensions
|
||||
*.vsix
|
||||
|
||||
# ---> macOS
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
8
.idea/2026SEL3-project.iml
generated
Normal file
8
.idea/2026SEL3-project.iml
generated
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.13 (2025PDSS-homework) (2)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
6
.idea/copilot.data.migration.agent.xml
generated
Normal file
6
.idea/copilot.data.migration.agent.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AgentMigrationStateService">
|
||||
<option name="migrationStatus" value="COMPLETED" />
|
||||
</component>
|
||||
</project>
|
||||
12
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
12
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
||||
<option name="ignoredErrors">
|
||||
<list>
|
||||
<option value="N806" />
|
||||
</list>
|
||||
</option>
|
||||
</inspection_tool>
|
||||
</profile>
|
||||
</component>
|
||||
6
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
6
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
||||
7
.idea/misc.xml
generated
Normal file
7
.idea/misc.xml
generated
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.13 (2025PDSS-homework) (2)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.13 (2025PDSS-homework) (2)" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/2026SEL3-project.iml" filepath="$PROJECT_DIR$/.idea/2026SEL3-project.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
1
.python-version
Normal file
1
.python-version
Normal file
|
|
@ -0,0 +1 @@
|
|||
3.12
|
||||
0
README.md
Normal file
0
README.md
Normal file
0
configs/.gitkeep
Normal file
0
configs/.gitkeep
Normal file
0
docs/.gitkeep
Normal file
0
docs/.gitkeep
Normal file
129
flake.lock
generated
Normal file
129
flake.lock
generated
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-jetbrains-plugins": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771678588,
|
||||
"narHash": "sha256-PUPhmsfEO/KnvCIIpEq6Mhyv0R9ht8giPssz7SO4rzU=",
|
||||
"owner": "theCapypara",
|
||||
"repo": "nix-jetbrains-plugins",
|
||||
"rev": "ae1b64623441e20b748585aee80fd3594052bc5b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "theCapypara",
|
||||
"repo": "nix-jetbrains-plugins",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1767640445,
|
||||
"narHash": "sha256-UWYqmD7JFBEDBHWYcqE6s6c77pWdcU/i+bwD6XxMb8A=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9f0c42f8bc7151b8e7e5840fb3bd454ad850d8c5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1771848320,
|
||||
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nix-jetbrains-plugins": "nix-jetbrains-plugins",
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_2": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
34
flake.nix
Normal file
34
flake.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
nix-jetbrains-plugins.url = "github:theCapypara/nix-jetbrains-plugins";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, nix-jetbrains-plugins }:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
pluginList = [
|
||||
"be.ugent.piedcler.dodona"
|
||||
"com.github.copilot"
|
||||
"com.google.tools.ij.aiplugin"
|
||||
"IdeaVIM"
|
||||
];
|
||||
in {
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
python312
|
||||
python312Packages.uv
|
||||
|
||||
ruff
|
||||
|
||||
# Editor of your choice
|
||||
(nix-jetbrains-plugins.lib.buildIdeWithPlugins pkgs "pycharm" pluginList)
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
||||
22
pyproject.toml
Normal file
22
pyproject.toml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[project]
|
||||
name = "2026sel3-project"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12, <3.13"
|
||||
dependencies = [
|
||||
"biorobot==0.4.2",
|
||||
"evosax==0.2.0",
|
||||
"ipykernel==7.2.0",
|
||||
"jax[cuda13]==0.9.0.1",
|
||||
"matplotlib==3.10.8",
|
||||
"mediapy==1.2.6",
|
||||
"pyopengl>=3.1.10",
|
||||
"pyopengl-accelerate>=3.1.10",
|
||||
"wandb==0.24.2",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ruff>=0.15.2",
|
||||
]
|
||||
394
ruff.toml
Normal file
394
ruff.toml
Normal file
|
|
@ -0,0 +1,394 @@
|
|||
extend-select = [
|
||||
# "PLC0103", # invalid-name
|
||||
# "PLC0104", # disallowed-name
|
||||
# "PLC0105", # typevar-name-incorrect-variance
|
||||
"D419", # empty-docstring
|
||||
# "PLC0114", # missing-module-docstring
|
||||
# "PLC0115", # missing-class-docstring
|
||||
# "PLC0117", # unnecessary-negation
|
||||
# "PLC0121", # singleton-comparison
|
||||
# "PLC0123", # unidiomatic-typecheck
|
||||
# "PLC0131", # typevar-double-variance
|
||||
# "PLC0132", # typevar-name-mismatch
|
||||
# "PLC0201", # consider-iterating-dictionary
|
||||
# "PLC0202", # bad-classmethod-argument
|
||||
# "PLC0203", # bad-mcs-method-argument
|
||||
# "PLC0204", # bad-mcs-classmethod-argument
|
||||
# "PLC0205", # single-string-used-for-slots
|
||||
# "PLC0206", # consider-using-dict-items
|
||||
# "PLC0207", # use-maxsplit-arg
|
||||
# "PLC0208", # use-sequence-for-iteration
|
||||
# "PLC0209", # consider-using-f-string
|
||||
"E501", # line-too-long
|
||||
# "PLC0302", # too-many-lines
|
||||
"W291", # trailing-whitespace
|
||||
# "PLC0304", # missing-final-newline
|
||||
# "PLC0321", # multiple-statements
|
||||
# "PLC0325", # superfluous-parens
|
||||
# "PLC0327", # mixed-line-endings
|
||||
# "PLC0328", # unexpected-line-ending-format
|
||||
# "PLC0401", # wrong-spelling-in-comment
|
||||
# "PLC0402", # wrong-spelling-in-docstring
|
||||
# "PLC0403", # invalid-characters-in-docstring
|
||||
# "PLC0410", # multiple-imports
|
||||
# "PLC0412", # ungrouped-imports
|
||||
# "PLC0413", # wrong-import-position
|
||||
"PLC0414", # useless-import-alias
|
||||
# "PLC0415", # import-outside-toplevel
|
||||
# "PLC1802", # use-implicit-booleaness-not-len
|
||||
# "PLC1803", # use-implicit-booleaness-not-comparison
|
||||
"PLC2401", # non-ascii-name
|
||||
# "PLC2403", # non-ascii-module-import
|
||||
# "PLC2503", # bad-file-encoding
|
||||
"PLC2801", # unnecessary-dunder-call
|
||||
# "PLC3001", # unnecessary-lambda-assignment
|
||||
"PLC3002", # unnecessary-direct-lambda-call
|
||||
"E999", # syntax-error
|
||||
# "PLE0011", # unrecognized-inline-option
|
||||
# "PLE0013", # bad-plugin-value
|
||||
# "PLE0014", # bad-configuration-section
|
||||
# "PLE0015", # unrecognized-option
|
||||
# "PLE0100", # init-is-generator
|
||||
"PLE0101", # return-in-init
|
||||
# "PLE0102", # function-redefined
|
||||
# "PLE0103", # not-in-loop
|
||||
"F706", # return-outside-function
|
||||
"F704", # yield-outside-function
|
||||
# "PLE0107", # nonexistent-operator
|
||||
# "PLE0108", # duplicate-argument-name
|
||||
# "PLE0110", # abstract-class-instantiated
|
||||
# "PLE0111", # bad-reversed-sequence
|
||||
# "PLE0112", # too-many-star-expressions
|
||||
# "PLE0113", # invalid-star-assignment-target
|
||||
# "PLE0114", # star-needs-assignment-target
|
||||
"PLE0115", # nonlocal-and-global
|
||||
"PLE0117", # nonlocal-without-binding
|
||||
# "PLE0118", # used-prior-global-declaration
|
||||
# "PLE0119", # misplaced-format-function
|
||||
# "PLE0202", # method-hidden
|
||||
# "PLE0203", # access-member-before-definition
|
||||
# "PLE0211", # no-method-argument
|
||||
# "PLE0213", # no-self-argument
|
||||
# "PLE0236", # invalid-slots-object
|
||||
# "PLE0237", # assigning-non-slot
|
||||
# "PLE0238", # invalid-slots
|
||||
# "PLE0239", # inherit-non-class
|
||||
# "PLE0240", # inconsistent-mro
|
||||
"PLE0241", # duplicate-bases
|
||||
# "PLE0242", # class-variable-slots-conflict
|
||||
# "PLE0243", # invalid-class-object
|
||||
# "PLE0244", # invalid-enum-extension
|
||||
# "PLE0245", # declare-non-slot
|
||||
# "PLE0301", # non-iterator-returned
|
||||
"PLE0302", # unexpected-special-method-signature
|
||||
# "PLE0303", # invalid-length-returned
|
||||
# "PLE0304", # invalid-bool-returned
|
||||
# "PLE0305", # invalid-index-returned
|
||||
# "PLE0306", # invalid-repr-returned
|
||||
# "PLE0307", # invalid-str-returned
|
||||
# "PLE0308", # invalid-bytes-returned
|
||||
# "PLE0309", # invalid-hash-returned
|
||||
# "PLE0310", # invalid-length-hint-returned
|
||||
# "PLE0311", # invalid-format-returned
|
||||
# "PLE0312", # invalid-getnewargs-returned
|
||||
# "PLE0313", # invalid-getnewargs-ex-returned
|
||||
# "PLE0402", # relative-beyond-top-level
|
||||
# "PLE0601", # used-before-assignment
|
||||
# "PLE0602", # undefined-variable
|
||||
# "PLE0603", # undefined-all-variable
|
||||
"PLE0604", # invalid-all-object
|
||||
"PLE0605", # invalid-all-format
|
||||
# "PLE0606", # possibly-used-before-assignment
|
||||
# "PLE0633", # unpacking-non-sequence
|
||||
"PLE0643", # potential-index-error
|
||||
# "PLE0701", # bad-except-order
|
||||
# "PLE0702", # raising-bad-type
|
||||
"PLE0704", # misplaced-bare-raise
|
||||
# "PLE0705", # bad-exception-cause
|
||||
# "PLE0710", # raising-non-exception
|
||||
# "PLE0711", # notimplemented-raised
|
||||
# "PLE0712", # catching-non-exception
|
||||
# "PLE1003", # bad-super-call
|
||||
# "PLE1102", # not-callable
|
||||
# "PLE1111", # assignment-from-no-return
|
||||
# "PLE1120", # no-value-for-parameter
|
||||
# "PLE1121", # too-many-function-args
|
||||
# "PLE1123", # unexpected-keyword-arg
|
||||
# "PLE1124", # redundant-keyword-arg
|
||||
# "PLE1125", # missing-kwoa
|
||||
# "PLE1126", # invalid-sequence-index
|
||||
# "PLE1127", # invalid-slice-index
|
||||
# "PLE1128", # assignment-from-none
|
||||
# "PLE1129", # not-context-manager
|
||||
# "PLE1130", # invalid-unary-operand-type
|
||||
# "PLE1131", # unsupported-binary-operation
|
||||
# "PLE1132", # repeated-keyword
|
||||
# "PLE1133", # not-an-iterable
|
||||
# "PLE1134", # not-a-mapping
|
||||
# "PLE1135", # unsupported-membership-test
|
||||
# "PLE1136", # unsubscriptable-object
|
||||
# "PLE1137", # unsupported-assignment-operation
|
||||
# "PLE1138", # unsupported-delete-operation
|
||||
# "PLE1139", # invalid-metaclass
|
||||
"PLE1141", # dict-iter-missing-items
|
||||
"PLE1142", # await-outside-async
|
||||
# "PLE1143", # unhashable-member
|
||||
# "PLE1144", # invalid-slice-step
|
||||
# "PLE1145", # async-context-manager-with-regular-with
|
||||
# "PLE1200", # logging-unsupported-format
|
||||
# "PLE1201", # logging-format-truncated
|
||||
"PLE1205", # logging-too-many-args
|
||||
"PLE1206", # logging-too-few-args
|
||||
# "PLE1300", # bad-format-character
|
||||
# "PLE1301", # truncated-format-string
|
||||
# "PLE1302", # mixed-format-string
|
||||
# "PLE1303", # format-needs-mapping
|
||||
# "PLE1304", # missing-format-string-key
|
||||
# "PLE1305", # too-many-format-args
|
||||
# "PLE1306", # too-few-format-args
|
||||
"PLE1307", # bad-string-format-type
|
||||
"PLE1310", # bad-str-strip-call
|
||||
"PLE1507", # invalid-envvar-value
|
||||
"PLE1519", # singledispatch-method
|
||||
"PLE1520", # singledispatchmethod-function
|
||||
# "PLE1700", # yield-inside-async-function
|
||||
# "PLE1701", # not-async-context-manager
|
||||
# "PLE1901", # bare-name-capture-pattern
|
||||
# "PLE1902", # invalid-match-args-definition
|
||||
# "PLE1903", # too-many-positional-sub-patterns
|
||||
# "PLE1904", # multiple-class-sub-patterns
|
||||
# "PLE2501", # invalid-unicode-codec
|
||||
"PLE2502", # bidirectional-unicode
|
||||
"PLE2510", # invalid-character-backspace
|
||||
# "PLE2511", # invalid-character-carriage-return
|
||||
"PLE2512", # invalid-character-sub
|
||||
"PLE2513", # invalid-character-esc
|
||||
"PLE2514", # invalid-character-nul
|
||||
"PLE2515", # invalid-character-zero-width-space
|
||||
# "PLE3102", # positional-only-arguments-expected
|
||||
# "PLE3701", # invalid-field-call
|
||||
# "PLE4702", # modified-iterating-dict
|
||||
"PLE4703", # modified-iterating-set
|
||||
# "PLF0001", # fatal
|
||||
# "PLF0002", # astroid-error
|
||||
# "PLF0010", # parse-error
|
||||
# "PLF0011", # config-parse-error
|
||||
# "PLF0202", # method-check-failed
|
||||
# "PLW0101", # unreachable
|
||||
# "PLW0102", # dangerous-default-value
|
||||
# "PLW0104", # pointless-statement
|
||||
# "PLW0105", # pointless-string-statement
|
||||
# "PLW0106", # expression-not-assigned
|
||||
"PLW0108", # unnecessary-lambda
|
||||
# "PLW0109", # duplicate-key
|
||||
# "PLW0122", # exec-used
|
||||
# "PLW0123", # eval-used
|
||||
# "PLW0124", # confusing-with-statement
|
||||
# "PLW0125", # using-constant-test
|
||||
# "PLW0126", # missing-parentheses-for-call-in-test
|
||||
"PLW0127", # self-assigning-variable
|
||||
"PLW0128", # redeclared-assigned-name
|
||||
"PLW0129", # assert-on-string-literal
|
||||
"B033", # duplicate-value
|
||||
"PLW0131", # named-expr-without-context
|
||||
# "PLW0133", # pointless-exception-statement
|
||||
# "PLW0134", # return-in-finally
|
||||
# "PLW0135", # contextmanager-generator-missing-cleanup
|
||||
"PLE0116", # continue-in-finally
|
||||
# "PLW0137", # break-in-finally
|
||||
# "PLW0143", # comparison-with-callable
|
||||
# "PLW0150", # lost-exception
|
||||
"PLW0177", # nan-comparison
|
||||
# "PLW0199", # assert-on-tuple
|
||||
"PLW0211", # bad-staticmethod-argument
|
||||
# "PLW0212", # protected-access
|
||||
# "PLW0213", # implicit-flag-alias
|
||||
# "PLW0231", # super-init-not-called
|
||||
# "PLW0233", # non-parent-init-called
|
||||
# "PLW0236", # invalid-overridden-method
|
||||
# "PLW0237", # arguments-renamed
|
||||
# "PLW0238", # unused-private-member
|
||||
# "PLW0239", # overridden-final-method
|
||||
# "PLW0240", # subclassed-final-class
|
||||
"PLW0244", # redefined-slots-in-subclass
|
||||
"PLW0245", # super-without-brackets
|
||||
# "PLW0246", # useless-parent-delegation
|
||||
# "PLW0301", # unnecessary-semicolon
|
||||
# "PLW0311", # bad-indentation
|
||||
# "PLW0401", # wildcard-import
|
||||
# "PLW0404", # reimported
|
||||
# "PLW0407", # preferred-module
|
||||
# "PLW0410", # misplaced-future
|
||||
# "PLW0416", # shadowed-import
|
||||
# "PLW0601", # global-variable-undefined
|
||||
"PLW0602", # global-variable-not-assigned
|
||||
"PLW0604", # global-at-module-level
|
||||
"F401", # unused-import
|
||||
"F841", # unused-variable
|
||||
# "PLW0613", # unused-argument
|
||||
# "PLW0614", # unused-wildcard-import
|
||||
# "PLW0621", # redefined-outer-name
|
||||
# "PLW0622", # redefined-builtin
|
||||
# "PLW0631", # undefined-loop-variable
|
||||
# "PLW0632", # unbalanced-tuple-unpacking
|
||||
# "PLW0640", # cell-var-from-loop
|
||||
# "PLW0641", # possibly-unused-variable
|
||||
# "PLW0642", # self-cls-assignment
|
||||
# "PLW0644", # unbalanced-dict-unpacking
|
||||
"E722", # bare-except
|
||||
# "PLW0705", # duplicate-except
|
||||
# "PLW0706", # try-except-raise
|
||||
# "PLW0707", # raise-missing-from
|
||||
"PLW0711", # binary-op-exception
|
||||
# "PLW0715", # raising-format-tuple
|
||||
# "PLW0716", # wrong-exception-operation
|
||||
# "PLW0718", # broad-exception-caught
|
||||
# "PLW0719", # broad-exception-raised
|
||||
# "PLW1113", # keyword-arg-before-vararg
|
||||
# "PLW1114", # arguments-out-of-order
|
||||
# "PLW1115", # non-str-assignment-to-dunder-name
|
||||
# "PLW1116", # isinstance-second-argument-not-valid-type
|
||||
# "PLW1117", # kwarg-superseded-by-positional-arg
|
||||
# "PLW1201", # logging-not-lazy
|
||||
# "PLW1202", # logging-format-interpolation
|
||||
# "PLW1203", # logging-fstring-interpolation
|
||||
# "PLW1300", # bad-format-string-key
|
||||
# "PLW1301", # unused-format-string-key
|
||||
# "PLW1302", # bad-format-string
|
||||
# "PLW1303", # missing-format-argument-key
|
||||
# "PLW1304", # unused-format-string-argument
|
||||
# "PLW1305", # format-combined-specification
|
||||
# "PLW1306", # missing-format-attribute
|
||||
# "PLW1307", # invalid-format-index
|
||||
# "PLW1308", # duplicate-string-formatting-argument
|
||||
# "PLW1309", # f-string-without-interpolation
|
||||
# "PLW1310", # format-string-without-interpolation
|
||||
# "PLW1401", # anomalous-backslash-in-string
|
||||
# "PLW1402", # anomalous-unicode-escape-in-string
|
||||
# "PLW1405", # inconsistent-quotes
|
||||
# "PLW1406", # redundant-u-string-prefix
|
||||
"PLW1501", # bad-open-mode
|
||||
# "PLW1503", # redundant-unittest-assert
|
||||
# "PLW1506", # bad-thread-instantiation
|
||||
"PLW1507", # shallow-copy-environ
|
||||
"PLW1508", # invalid-envvar-default
|
||||
"PLW1509", # subprocess-popen-preexec-fn
|
||||
# "PLW1510", # subprocess-run-check
|
||||
"PLW1514", # unspecified-encoding
|
||||
# "PLW1515", # forgotten-debug-statement
|
||||
# "PLW1518", # method-cache-max-size-none
|
||||
"PLW2101", # useless-with-lock
|
||||
# "PLW2301", # unnecessary-ellipsis
|
||||
# "PLW2402", # non-ascii-file-name
|
||||
# "PLW2601", # using-f-string-in-unsupported-version
|
||||
# "PLW2602", # using-final-decorator-in-unsupported-version
|
||||
# "PLW2603", # using-exception-groups-in-unsupported-version
|
||||
# "PLW2604", # using-generic-type-syntax-in-unsupported-version
|
||||
# "PLW2605", # using-assignment-expression-in-unsupported-version
|
||||
# "PLW2606", # using-positional-only-args-in-unsupported-version
|
||||
# "PLW3101", # missing-timeout
|
||||
"PLW3301", # nested-min-max
|
||||
# "PLW3601", # bad-chained-comparison
|
||||
# "PLW4701", # modified-iterating-list
|
||||
# "PLW4901", # deprecated-module
|
||||
# "PLW4902", # deprecated-method
|
||||
# "PLW4903", # deprecated-argument
|
||||
# "PLW4904", # deprecated-class
|
||||
# "PLW4905", # deprecated-decorator
|
||||
# "PLW4906", # deprecated-attribute
|
||||
]
|
||||
|
||||
ignore = [
|
||||
# "PLC0116", # missing-function-docstring
|
||||
# "PLC0200", # consider-using-enumerate
|
||||
# "PLC0305", # trailing-newlines
|
||||
# "PLC0411", # wrong-import-order
|
||||
# "PLC1804", # use-implicit-booleaness-not-comparison-to-string
|
||||
# "PLC1805", # use-implicit-booleaness-not-comparison-to-zero
|
||||
# "PLE0401", # import-error
|
||||
# "PLE0611", # no-name-in-module
|
||||
# "PLE1101", # no-member
|
||||
# "PLI0001", # raw-checker-failed
|
||||
# "PLI0010", # bad-inline-option
|
||||
# "PLI0011", # locally-disabled
|
||||
# "PLI0013", # file-ignored
|
||||
# "PLI0020", # suppressed-message
|
||||
# "PLI0021", # useless-suppression
|
||||
# "PLI0022", # deprecated-pragma
|
||||
# "PLI0023", # use-symbolic-message-instead
|
||||
# "PLI1101", # c-extension-no-member
|
||||
# "PLR0022", # useless-option-value
|
||||
# "PLR0123", # literal-comparison
|
||||
"PLR0124", # comparison-with-itself
|
||||
# "PLR0133", # comparison-of-constants
|
||||
"PLR0202", # no-classmethod-decorator
|
||||
"PLR0203", # no-staticmethod-decorator
|
||||
"UP004", # useless-object-inheritance
|
||||
"PLR0206", # property-with-parameters
|
||||
# "PLR0401", # cyclic-import
|
||||
# "PLR0402", # consider-using-from-import
|
||||
# "PLR0801", # duplicate-code
|
||||
# "PLR0901", # too-many-ancestors
|
||||
# "PLR0902", # too-many-instance-attributes
|
||||
# "PLR0903", # too-few-public-methods
|
||||
"PLR0904", # too-many-public-methods
|
||||
"PLR0911", # too-many-return-statements
|
||||
"PLR0912", # too-many-branches
|
||||
"PLR0913", # too-many-arguments
|
||||
"PLR0914", # too-many-locals
|
||||
"PLR0915", # too-many-statements
|
||||
"PLR0916", # too-many-boolean-expressions
|
||||
"PLR0917", # too-many-positional-arguments
|
||||
# "PLR1701", # consider-merging-isinstance
|
||||
"PLR1702", # too-many-nested-blocks
|
||||
# "PLR1703", # simplifiable-if-statement
|
||||
"PLR1704", # redefined-argument-from-local
|
||||
# "PLR1705", # no-else-return
|
||||
# "PLR1706", # consider-using-ternary
|
||||
# "PLR1707", # trailing-comma-tuple
|
||||
"PLR1708", # stop-iteration-return
|
||||
# "PLR1709", # simplify-boolean-expression
|
||||
# "PLR1710", # inconsistent-return-statements
|
||||
"PLR1711", # useless-return
|
||||
# "PLR1712", # consider-swap-variables
|
||||
# "PLR1713", # consider-using-join
|
||||
# "PLR1714", # consider-using-in
|
||||
# "PLR1715", # consider-using-get
|
||||
# "PLR1716", # chained-comparison
|
||||
# "PLR1717", # consider-using-dict-comprehension
|
||||
# "PLR1718", # consider-using-set-comprehension
|
||||
# "PLR1719", # simplifiable-if-expression
|
||||
# "PLR1720", # no-else-raise
|
||||
"C416", # unnecessary-comprehension
|
||||
# "PLR1722", # consider-using-sys-exit
|
||||
# "PLR1723", # no-else-break
|
||||
# "PLR1724", # no-else-continue
|
||||
# "PLR1725", # super-with-arguments
|
||||
# "PLR1726", # simplifiable-condition
|
||||
# "PLR1727", # condition-evals-to-constant
|
||||
# "PLR1728", # consider-using-generator
|
||||
# "PLR1729", # use-a-generator
|
||||
# "PLR1730", # consider-using-min-builtin
|
||||
# "PLR1731", # consider-using-max-builtin
|
||||
# "PLR1732", # consider-using-with
|
||||
"PLR1733", # unnecessary-dict-index-lookup
|
||||
# "PLR1734", # use-list-literal
|
||||
# "PLR1735", # use-dict-literal
|
||||
"PLR1736", # unnecessary-list-index-lookup
|
||||
# "PLR1737", # use-yield-from
|
||||
# "PLR1905", # match-class-bind-self
|
||||
# "PLR1906", # match-class-positional-attributes
|
||||
# "PLW0012", # unknown-option-value
|
||||
# "PLW0107", # unnecessary-pass
|
||||
"PLW0120", # useless-else-on-loop
|
||||
# "PLW0201", # attribute-defined-outside-init
|
||||
# "PLW0221", # arguments-differ
|
||||
# "PLW0222", # signature-differs
|
||||
# "PLW0223", # abstract-method
|
||||
"PLW0406", # import-self
|
||||
# "PLW0511", # fixme
|
||||
"PLW0603", # global-statement
|
||||
# "PLW1404", # implicit-str-concat
|
||||
]
|
||||
|
||||
|
||||
11
src/helloworld.py
Normal file
11
src/helloworld.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import math
|
||||
import datetime
|
||||
|
||||
def greet():
|
||||
"""Prints a hello message with the current date and time."""
|
||||
current_time = datetime.datetime.now()
|
||||
print(f"Hello, World! Current date and time: {current_time}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
greet()
|
||||
|
||||
0
tests/.gitkeep
Normal file
0
tests/.gitkeep
Normal file
Reference in a new issue