One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| [tool.ruff.lint] | |
| preview = true | |
| select = [ | |
| "E", # pycodestyle — hard PEP 8 violations (indentation, spacing, etc.). | |
| "W", # pycodestyle warnings — softer style nits you still want fixed. | |
| "F", # pyflakes — real code errors: undefined names, unused vars & imports. | |
| "I", # isort — keep your import blocks deterministically sorted/grouped. | |
| "B", # bugbear — likely bugs and nasty edge-cases (mutable defaults, etc.). | |
| "C4", # comprehensions — suggest faster/cleaner list- & dict-comps. | |
| "UP", # pyupgrade — auto-rewrite code to the newest-supported Python syntax. |
| #!/usr/local/bin/python3-aisoc | |
| # -*- coding: utf-8 -*- | |
| import logging | |
| import sys | |
| # set formatter | |
| logging_formatter = logging.Formatter(' %(levelname)s %(asctime)s %(message)s', "%Y-%m-%d %H:%M:%S") | |
| # set handler |
| import pandas as pd | |
| from sqlalchemy import create_engine | |
| # follows django database settings format, replace with your own settings | |
| DATABASES = { | |
| 'production':{ | |
| 'NAME': 'dbname', | |
| 'USER': 'user', | |
| 'PASSWORD': 'pass', | |
| 'HOST': 'rdsname.clqksfdibzsj.us-east-1.rds.amazonaws.com', |
| #!/usr/bin/env python | |
| # | |
| # ---------------------------------------------------------------------------- | |
| # "THE BEER-WARE LICENSE" (Revision 42): | |
| # <[email protected]> wrote this file. As long as you retain this notice you | |
| # can do whatever you want with this stuff. If we meet some day, and you think | |
| # this stuff is worth it, you can buy me a beer in return. | |
| # ---------------------------------------------------------------------------- | |
| # |