| Conditions | 1 | 
| Total Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | """Represents swarm.""" | ||
| 8 | def __init__(self, stages, number_of_particles): | ||
| 9 | self.stages = stages | ||
| 10 | self.number_of_particles = number_of_particles | ||
| 11 | self.particles = self.number_of_particles * [Particle(stages)] | ||
| 12 | self.best_particle_quality = np.inf | ||
| 13 | self.best_particle = self.particles[0] | ||
| 14 | |||
| 35 | 
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.