Skip to content

Commit

Permalink
More cleanups
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Halpern <[email protected]>
  • Loading branch information
ZeldaZach committed Apr 2, 2019
1 parent 7774452 commit e882cd6
Show file tree
Hide file tree
Showing 19 changed files with 260 additions and 2,083 deletions.
3 changes: 1 addition & 2 deletions .ci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TARGET_BRANCH="files"

function doCompile {
echo "Running script..."
python3 main.py dumpXML=True
python3 -m magic_spoiler
}

# Pull requests and commits to other branches shouldn't try to deploy, just build to verify
Expand Down Expand Up @@ -48,7 +48,6 @@ echo TRAVIS_EVENT_TYPE ${TRAVIS_EVENT_TYPE}

# Now let's go have some fun with the cloned repo
cd out
rm -f AllSets*
ls
git config user.name "Travis CI"
git config user.email "$COMMIT_AUTHOR_EMAIL"
Expand Down
68 changes: 68 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[MASTER]

# Pickle collected data for later comparisons.
persistent=yes


[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once).You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=
bad-continuation,
fixme,
line-too-long,
localled-enabled,
locally-disabled,
logging-format-interpolation,
too-few-public-methods,
too-many-statements,
wrong-import-order,
too-many-branches,
import-error


[REPORTS]

# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio).You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format=colorized


[BASIC]

# Good variable names which should always be accepted, separated by a comma.
good-names=
f,
i,
j,
k,
_,

# Regular expression which should only match function or class names that do
# not require a docstring.
no-docstring-rgx=__.*__|test_.*


[MISCELLANEOUS]

# List of note tags to take in consideration, separated by a comma.
notes=
FIXME,
XXX,
TODO,


[VARIABLES]

# A regular expression matching the name of dummy variables (i.e. expectedly
# not used).
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ env:
before_install:
- export CFLAGS=-O0 # considerably speed-up build time for pip packages (especially lxml), optimizations doesn't matter for ci
- pip install pyyaml
- python verify_files.py # make sure input files are OK before wasting time with prereqs

install:
- pip install -r requirements.txt
Expand Down
68 changes: 0 additions & 68 deletions cards_corrections.yml

This file was deleted.

37 changes: 0 additions & 37 deletions cards_delete.yml

This file was deleted.

70 changes: 0 additions & 70 deletions cards_manual.yml

This file was deleted.

1 change: 1 addition & 0 deletions magic_spoiler/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Magic Spoiler Program"""
Loading

0 comments on commit e882cd6

Please sign in to comment.