Skip to content

Clean up - #3010

Merged
janosh merged 8 commits into
masterfrom
clean-up
May 23, 2023
Merged

janosh merged 8 commits into
masterfrom
clean-up

Conversation

@janosh

@janosh janosh commented May 23, 2023

Copy link
Copy Markdown
Member

742f461 simplify: structure.sites -> structure
9eb253c ruff unignore SIM115, fix pymatgen/io/qchem/tests/test_inputs.py
04e4fd6 ruff unignore RET501 and fix unnecessary return None
46ed471 ruff unignore and fix PLW3301
6e74192 ruff unignore PLW0603 and fix use of globals
24f812e improve TestCRESTOutput readability
bc93f61 ruff unignore PD002 (pandas don't use inplace)

@janosh janosh added the linting Linting and quality assurance label May 23, 2023
>           mol_ids.extend([i + 1] * len(topo))
E           TypeError: object of type 'Topology' has no len()

pymatgen/io/lammps/data.py:786: TypeError
@janosh
janosh merged commit 2330701 into master May 23, 2023
@janosh
janosh deleted the clean-up branch May 23, 2023 20:22
lbluque pushed a commit to lbluque/pymatgen that referenced this pull request May 23, 2023
* simplify: structure.sites -> structure

* ruff unignore SIM115, fix pymatgen/io/qchem/tests/test_inputs.py

* ruff unignore RET501 and fix unnecessary return none

* ruff unignore and fix PLW3301

* ruff unignore PLW0603 and fix use of globals

* improve TestCRESTOutput readability

* ruff unignore PD002 (pandas don't use inplace)

* fix LammpsDataTest.test_from_structure()

>           mol_ids.extend([i + 1] * len(topo))
E           TypeError: object of type 'Topology' has no len()

pymatgen/io/lammps/data.py:786: TypeError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linting Linting and quality assurance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants