Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
suejung-sentry committed Sep 23, 2024
1 parent f28866b commit 99c57ee
Show file tree
Hide file tree
Showing 14 changed files with 294 additions and 322 deletions.
48 changes: 21 additions & 27 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
**/__pycache__
**/.venv
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/bin
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md
__pycache__
*.pyc
*.pyo
*.pyd
.Python
env
pip-log.txt
pip-delete-this-directory.txt
.tox
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
*.log
.git
service.json
.github
.circleci
gha-creds-*.json
4 changes: 0 additions & 4 deletions .graphqlconfig

This file was deleted.

25 changes: 0 additions & 25 deletions Dockerfile

This file was deleted.

19 changes: 0 additions & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,6 @@ lint.check:
echo "Formatting..."
ruff format --check

# lint.branch lints only those files changed between this branch and main
# this command can be removed once we implement a pre-commit runner
# run it from a virtual env on your local machine - `cd <path/to/codecov-api>; python -m venv ./venv; source venv/bin/activate; pip-compile requirements.in; make lint.branch`
lint.branch:
make lint.install
echo "Linting files touched in this branch..."
changed_files=$$(git diff --name-only origin/main -- '*.py'); \
if [ -n "$$changed_files" ]; then \
ruff check $$changed_files --fix; \
else \
echo "No Python files to lint."; \
fi
echo "Formatting files touched in this branch..."
if [ -n "$$changed_files" ]; then \
ruff format $$changed_files --fix; \
else \
echo "No Python files to format."; \
fi

build.requirements:
# if docker pull succeeds, we have already build this version of
# requirements.txt. Otherwise, build and push a version tagged
Expand Down
24 changes: 0 additions & 24 deletions graphql_api/context.py

This file was deleted.

2 changes: 0 additions & 2 deletions graphql_api/graphql.config.yml

This file was deleted.

Loading

0 comments on commit 99c57ee

Please sign in to comment.