Skip to content

Commit

Permalink
Remove flake8.
Browse files Browse the repository at this point in the history
  • Loading branch information
heiner committed May 4, 2024
1 parent bf36d0b commit 3e4010f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 95 deletions.
9 changes: 0 additions & 9 deletions .flake8

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/lint_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
with:
python-version: "3.12"
- uses: actions/checkout@v4
- run: "pip install -q uv && uv pip install --system ruff flake8 flake8-bugbear isort"
- run: "pip install -q uv && uv pip install --system ruff isort"
- run: "ruff format --check --diff ."
- run: "ruff check"
- run: "flake8"
- run: "isort -c --diff nle/"
...
80 changes: 0 additions & 80 deletions Files.nle

This file was deleted.

4 changes: 3 additions & 1 deletion nle/dataset/populate_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ def add_altorg_directory(path, name, filename=nld.db.DB):
nld.db.create_dataset(name, root, ttyrec_version=1, conn=c, commit=False)

# 2. Add games from xlogfile to `games` table, then `datasets` table.
for xlogfile in sorted(glob.iglob(str(os.path.join(path, "xlogfile.*"))), reverse=True):
for xlogfile in sorted(
glob.iglob(str(os.path.join(path, "xlogfile.*"))), reverse=True
):
sep = ":" if xlogfile.endswith(".txt") else "\t"
game_gen = game_data_generator(xlogfile, separator=sep)
insert_sql = f"""
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@ def build_extension(self, ext):
extras_deps = {
"dev": [
"pre-commit>=2.0.1",
"black>=19.10b0",
"cmake_format>=0.6.10",
"flake8>=3.7",
"flake8-bugbear>=20.1",
"memory-profiler>=0.60.0",
"pytest>=6.2.5",
"pytest-benchmark>=3.4.1",
Expand Down

0 comments on commit 3e4010f

Please sign in to comment.