Skip to content

Instantly share code, notes, and snippets.

View cdkini's full-sized avatar
🐍
import this

Chetan Kini cdkini

🐍
import this
View GitHub Profile
from __future__ import annotations
import datetime as dt
import pathlib
from collections import defaultdict
from dataclasses import dataclass
from typing import TYPE_CHECKING, Sequence
import requests
import requirements as rp
from __future__ import annotations
import datetime as dt
import pathlib
from collections import defaultdict
from dataclasses import dataclass
from typing import TYPE_CHECKING, Sequence
import requests
import requirements as rp
@cdkini
cdkini / test_frequencies
Last active September 1, 2022 19:09
Based on 2000 test runs through dgtest, this file identifies which tests are run the most frequently!
tests/validator/test_validator.py 1624
tests/actions/test_validation_operators.py 1593
tests/data_context/test_data_context_v013.py 1588
tests/data_context/test_data_context.py 1583
tests/render/renderer/v3/test_suite_edit_notebook_renderer.py 1577
tests/data_context/test_data_context_test_yaml_config.py 1573
tests/datasource/test_new_datasource_with_sql_data_connector.py 1559
tests/render/renderer/test_checkpoint_new_notebook_renderer.py 1556
tests/rule_based_profiler/domain_builder/test_domain_builder.py 1555
tests/data_context/store/test_store_backends.py 1554
@cdkini
cdkini / .git-commit-template.txt
Created December 27, 2020 03:05 — forked from adeekshith/.git-commit-template.txt
This commit message template helps you write great commit messages and enforce it across teams.
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
@cdkini
cdkini / attributes_dicts.py
Created November 28, 2019 21:16
pygame Snake
colors = {
"BACKGROUND": (0, 0, 0), # Black
"MESSAGE": (255, 0, 0), # Red
"SNAKE": (255, 232, 115), # Yellow
"FOOD": (0, 255, 0) # Green
}
dimensions = {
"WIDTH": 250,
"HEIGHT": 250,